masking out unwanted area in series of images

1 Ansicht (letzte 30 Tage)
navin chandra
navin chandra am 13 Apr. 2019
Bearbeitet: navin chandra am 18 Apr. 2019
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 Kommentare
Image Analyst
Image Analyst am 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.
Walter Roberson
Walter Roberson am 18 Apr. 2019
The sample image has disappeared :(

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Image Analyst
Image Analyst am 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!

Translated by