Is there way to determine the location of a few pixels on an image using the picture of those pixel taken from different image
조회 수: 4 (최근 30일)
이전 댓글 표시
I have two image, One shows the image of an entire room (for example). I have another image that only captures one really small portion of the room taken by different camera. I was wondering if there is a way to find the location the smaller picture on the big picture.
댓글 수: 0
답변 (1개)
Image Analyst
2019년 7월 7일
편집: Image Analyst
2019년 7월 7일
Try Hu's moments for rotation and scale invariant pattern matching. See this demo by the University of Arizona: : Hu's Moments demo
댓글 수: 2
Image Analyst
2019년 7월 7일
As long as the small template image is not distorted you can use normalized cross correlation, like the attached demo.
If the object is not in the image, then you won't get a signal big enough (above the threshold) and you'll correctly show that the object is missing. If it is there, then the signal will be high enough that it IS detected.

참고 항목
카테고리
Help Center 및 File Exchange에서 Image Processing and Computer Vision에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!