필터 지우기
필터 지우기

cross correlating two images

조회 수: 1 (최근 30일)
Edward
Edward 2011년 7월 29일
I have two similar images, but one image needs to slightly be rotated and cut off at the bottom in order to be correctly alligned. How is this done? I assume I have convert the images to matrices but where do I go from there?

답변 (1개)

Harsha Vardhan Rao  Avunoori
Harsha Vardhan Rao Avunoori 2011년 7월 29일
For rotating an image you can use imrotate() and for deleting the rows you can assign it like this x(1:15,:) = [] this statement will remove the first 15 rows from the image.
For more information related to imrotate() refer this
-Harsha
  댓글 수: 1
Edward
Edward 2011년 7월 29일
I cannot manually rotate this picture. I was hoping to use some sort of code that involves cross correlation or image registration. Rotating it by eye would cause too much margin of error

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

카테고리

Help CenterFile Exchange에서 Build Interactive Tools에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by