Undefined function 'transformPointsForward' for input arguments of type 'single'.? will u explain?

Undefined function 'transformPointsForward' for input arguments of type 'single'. if i my using tform of 3*3 matrix...

 Accepted Answer

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

Which function used for 3*2 matrix....as projective2d() is used for 3*3 matrix...for 3*2????????
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.

Sign in to comment.

More Answers (0)

Categories

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!