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
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
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.
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!