필터 지우기
필터 지우기

how to mask on roi area

조회 수: 1 (최근 30일)
asthana
asthana 2014년 2월 19일
댓글: asthana 2014년 2월 19일
hello sir/madam i want to mask some portion of image and that portion will decide by user not me. so how to mask the portion and how to get the detail about that mask portion like area.

채택된 답변

Image Analyst
Image Analyst 2014년 2월 19일
  댓글 수: 1
asthana
asthana 2014년 2월 19일
thank you very much

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Dishant Arora
Dishant Arora 2014년 2월 19일
you can ask user to interactively specify ROI:
I = imread('fullfilename');
imshow(I)
h = imfreehand(gca);
wait(h) % waits for user to specify region of interest
bw = createMask(h) % Binary mask with 1's inside ROI
  댓글 수: 1
asthana
asthana 2014년 2월 19일
thank you mr.dishant arora

댓글을 달려면 로그인하십시오.

제품

Community Treasure Hunt

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

Start Hunting!

Translated by