필터 지우기
필터 지우기

How do I apply a transformation in a image

조회 수: 2 (최근 30일)
Laryssa Seabra
Laryssa Seabra 2013년 6월 21일
I'm using tform = maketform('affine',A); and it throws this error:
A =
1.0e+15 *
0.000000000000001 0 0
0 0.000000000000001 0
-0.000482575874560 0.005428978588800 -2.256162857536641
Error using maketform>validate_matrix (line 317)
The final column of A must consist of zeroes, except for a one in the last
row.
but the final column is zeros, except the one in the last row. what am i doing wrong?

채택된 답변

Matt J
Matt J 2013년 6월 21일
편집: Matt J 2013년 6월 21일
but the final column is zeros, except the one in the last row
The error message doesn't say "the one" in the last row. The error message says "a one" in the last row.
The final column should be [0;0;1], assuming the transformation you're doing is in 2D.

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by