필터 지우기
필터 지우기

Applying the same mask on a set of images

조회 수: 1 (최근 30일)
Elliza Feisol
Elliza Feisol 2020년 7월 14일
댓글: Image Analyst 2020년 7월 14일
I would like to apply a mask on the channels (semicircles) so it can be excluded from analysis of cell distribution (figure attached). I am required to apply a mask for 120 images, is it possible to read and write as well as apply the mask to all 120 images?

채택된 답변

Image Analyst
Image Analyst 2020년 7월 14일
  댓글 수: 3
Elliza Feisol
Elliza Feisol 2020년 7월 14일
Thank you for your help. I have tried applying the code, however, the mask of white semcircles does not appear and the image is not masked. Is there any way to fix this issue?
Image Analyst
Image Analyst 2020년 7월 14일
I had cropped the images because I assumed you didn't really have that big white frame around everything. If you really have that, then delete the call to imclearborder() and pass 1 into bwareafilt() instead of 4.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Modify Image Colors에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by