Clear Filters
Clear Filters

masking out unwanted area in series of images

1 view (last 30 days)
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 Comments
Image Analyst
Image Analyst on 15 Apr 2019
(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.

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 13 Apr 2019
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.

Community Treasure Hunt

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

Start Hunting!