Applying the same mask on a set of images
2 views (last 30 days)
Show older comments
Elliza Feisol
on 14 Jul 2020
Commented: Image Analyst
on 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?
0 Comments
Accepted Answer
Image Analyst
on 14 Jul 2020
Yes. See code samples in the FAQ: https://matlab.fandom.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F
3 Comments
Image Analyst
on 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.
More Answers (0)
See Also
Categories
Find more on Image Processing Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!