Undefined function 'transformPointsForward' for input arguments of type 'single'.? will u explain?
1 view (last 30 days)
Show older comments
Wajahat Nawaz
on 20 Nov 2015
Commented: Walter Roberson
on 23 Nov 2015
Undefined function 'transformPointsForward' for input arguments of type 'single'. if i my using tform of 3*3 matrix...
0 Comments
Accepted Answer
Walter Roberson
on 21 Nov 2015
You cannot call transformPointsForward and pass in a numeric matrix. The tform that you pass in must be created by a projective2d() or affine3d() class constructor call.
2 Comments
Walter Roberson
on 23 Nov 2015
The older http://www.mathworks.com/help/images/ref/maketform.html which you would use in combination with the older http://www.mathworks.com/help/images/ref/imtransform.html
However, the 'projective' option there requires a square transform matrix (the 'affine' can accept a non-square matrix.) You may need to create a 'custom' transform if you want to use a projective 3 x 2 matrix.
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!