Image Processing, how do I create a draggable square cursor and to calculate avg and std of ROI
3 ビュー (過去 30 日間)
古いコメントを表示
Hello all, I'm working on a project that requires me to filter out an image and then create a pixel region square that will hoover over a particular region of interest of the resultant image. The image is corrupted with radiation and I need to observe a particular region of this image. I have performed the filtering and used the impixelregion function which creates a pixelregion rectangule and a default window to view the ROI for the pixels of an image. However, i need the pixelregion rectangule to be of square dimension rather than rectangular.Upon specifying the region of interest by the pixelregion square, I also need to calculate the average pixel intensity and standard deviation for that region, and for the output to be displayed on the bottom half of the the default window with the pixel values at the bottom of that window. I tried to manipulate the impixelregion but to no avail. If some were to be kind to assist me in this problem. I will be grateful
2 件のコメント
Image Analyst
2013 年 6 月 5 日
What do you mean by square cursor? Normally the cursor is an arrow but turns to crossed lines when using ginput(), or a spinning blue circle in Windows if you do this:
% Change mouse pointer (cursor) to a circle or the "wait" cursor as defined by your operating system.
% QUIRK: use 'watch' and you'll actually get your "wait" cursor,
% not a watch.
set(gcf,'Pointer','watch');
What does it mean to have a square cursor? You mean like the mouse cursor is a tiny little square shape?
採用された回答
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!