Applying the same mask on a set of images
1 次查看(过去 30 天)
显示 更早的评论
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?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/331721/image.png)
0 个评论
采纳的回答
Image Analyst
2020-7-14
Yes. See code samples in the FAQ: https://matlab.fandom.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F
3 个评论
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 Center 和 File Exchange 中查找有关 Modify Image Colors 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!