Region of Interest (ROI) based
2 views (last 30 days)
Show older comments
hi can any one tell me there is any function in which after apply roi the output shows the original value of image in mask area...
0 Comments
Answers (2)
Matt J
on 12 Oct 2017
You can get the values using the createMask method of any imroi object.
0 Comments
Image Analyst
on 12 Oct 2017
This will give you the pixel values in the mask (where the mask is true):
pixelValues = grayImage(mask);
Also, see my attached masking demo, and see my Image Segmentation Tutorial in my File Exchange: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862&sort=downloads_desc
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!