フィルターのクリア

Region of Interest (ROI) based

3 ビュー (過去 30 日間)
sadhna
sadhna 2013 年 2 月 14 日
回答済み: Image Analyst 2017 年 10 月 12 日
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...

回答 (2 件)

Matt J
Matt J 2017 年 10 月 12 日
You can get the values using the createMask method of any imroi object.

Image Analyst
Image Analyst 2017 年 10 月 12 日
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

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by