masking out unwanted area in series of images

조회 수: 1 (최근 30일)
navin chandra
navin chandra 2019년 4월 13일
편집: navin chandra 2019년 4월 18일
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.
Walter Roberson
Walter Roberson 2019년 4월 18일
The sample image has disappeared :(

댓글을 달려면 로그인하십시오.

답변 (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.

Community Treasure Hunt

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

Start Hunting!

Translated by