how can i translate a 2D image in x ,y directions using matlab?
조회 수: 3 (최근 30일)
이전 댓글 표시
hi all
i have a 2D image , how can i translated it in x direction by using
from :x-translation=-tx;to:x-translation=tx;step=5;
and in y direction
from :y-translation=-ty;to:y-translation=ty;step=5;
also , how can i select suitable values for tx and ty?
any help please?
Regards
댓글 수: 0
채택된 답변
Sean de Wolski
2012년 2월 14일
댓글 수: 5
Sean de Wolski
2012년 2월 14일
You don't need to modify anything, read the help - it explains how to use the inputs to translate the way you want.
A is the transformation matrix.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!