필터 지우기
필터 지우기

image stitching

조회 수: 12 (최근 30일)
Rajesh Kumar
Rajesh Kumar 2012년 2월 23일
hii..for image sitching,i found out the registration parameters(translational and rotational)using phase correlation...the next step is to create a canvas of the 2 images,which i am unable to do..please any one give me any idea..thanx in advance..

채택된 답변

Jeff E
Jeff E 2012년 2월 23일
The approach I take is to pre-allocate the final image, then just "drop in" the image data in the appropriate locations. This works for regular tiling, including translation. I've never had occasion to apply a rotation, but hopefully this is applicable. Perhaps use imrotate on the tiles before trying to add...
fullmask(ttop : tbottom , tleft : tright , :) = imadd(fullmask(ttop : tbottom , tleft : tright , :), temp_img) ;
Where fullmask is your final image, and ttop, tbottom, tleft, and tright are the coordinate extremes of the image to be added. Such that if you had a 100x100 pixel image to add in the upper left corner, ttop = 1, tbottom = 101, etc.

추가 답변 (1개)

Image Analyst
Image Analyst 2012년 2월 23일

카테고리

Help CenterFile Exchange에서 Geometric Transformation and Image Registration에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by