필터 지우기
필터 지우기

Overlaying a partially transparent binary over an RGB image?

조회 수: 8 (최근 30일)
Caleb
Caleb 2012년 8월 6일
As the title suggests, I'm trying to overlay a binary mask over an RGB image to verify segmentation. How do I make the binary mask partially transparent so that I can see what's underneath?
Thank you.
  댓글 수: 1
Jan
Jan 2012년 8월 19일
It depends on what you are doing. Please post, what "overlay a binary mask" means as Matlab code.

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

채택된 답변

Image Analyst
Image Analyst 2012년 8월 19일
See the example given by the leader of the Image Processing team:
  댓글 수: 1
Caleb
Caleb 2012년 8월 20일
This is the blog to which I referred to find the solution.

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

추가 답변 (1개)

Walter Roberson
Walter Roberson 2012년 8월 19일
If you are creating an image object, such as by image() or imagesc() or imshow(), then set the AlphaData property of the overlay image.

Community Treasure Hunt

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

Start Hunting!

Translated by