Hi, I have drawn an greyscale image from a matrix using imshow. I used Imrect to draw a rectangle on a region of the image. from Imrect i get the xmin, ymin hight and width of the rectangle. but what i really need is to know which pixels it contains e.g the image matrix indexes. how do i do this conversion? thanks
MATLAB: Converting a rectangle position on an image to image matrix index
digital image processing
Related Question
- Warning: Integer operands are required for colon operator when used as index, Please help…its emergency
- Select particular region of image without imcrop
- Imrect function how I can show the image
- How can i extract part of a matrix when the part i’m extracting is slanted
- Imrect not visible after updating an image
- Hi, I am using Matlab version 7.9.0(R2009b). I need to select a rectangular region of interest for the tif image. I tried imrect but the rectangular appeared on an empty coordinat system, not in the tif image. Could you please help me on this
- Can’t drag rectangle object in GUI axis for large images
Best Answer