masking out unwanted area in series of images

1 次查看(过去 30 天)
I have 1000 images sequentially extracted from a video. I am making a grid of small windows in all those images. I want to find out average intensity value of each and every window inside any image. But there are some small circular structure, constantly present in present in all 1000 images which are not the part of my average intensity calculation. How do I get rid of those features.
  6 个评论
Image Analyst
Image Analyst 2019-4-15
(i) Try roipolyold() or ginput(3)
(ii) It's just straightforward geometry -- I'm sure any smart engineer could figure it out.
If you want to do it manually with some freehand masking way, then that's also fine.

请先登录,再进行评论。

回答(1 个)

Image Analyst
Image Analyst 2019-4-13
Can you have your users click on the smallest triangle? Then you can extrapolate that out to all points in the honeycomb pattern. I think that would be the easiest way.
Otherwise you can try the radon transform to find out which angles the pattern is alone and try to get the pattern from that.
I think using something like thresholding is going to be tough because the spots are open and the same intensity as the background, and the black borders around the spots are not closed.

类别

Help CenterFile Exchange 中查找有关 Display Image 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by