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.

답변 (1개)

Image Analyst
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
Robin
Robin 2019년 7월 7일
Thanks, but the problem is I may not have objects on the image. Let's say the bigger picture is 1920x1080 taking a picture of a entire wall and the lower resolution camera 480×360 is taking a closer shot of the wall on an specific point. I was wondering if it's possible to find where that location is on the higher resolution image. Thank You
Image Analyst
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.
00_Screenshot.png

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

카테고리

Help CenterFile 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!

Translated by