Filter löschen
Filter löschen

Applying the same mask on a set of images

2 Ansichten (letzte 30 Tage)
Elliza Feisol
Elliza Feisol am 14 Jul. 2020
Kommentiert: Image Analyst am 14 Jul. 2020
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?

Akzeptierte Antwort

Image Analyst
Image Analyst am 14 Jul. 2020
  3 Kommentare
Elliza Feisol
Elliza Feisol am 14 Jul. 2020
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 am 14 Jul. 2020
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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Image Processing Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by