필터 지우기
필터 지우기

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