Undefined function 'transformPointsForward' for input arguments of type 'single'.? will u explain?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Wajahat Nawaz
le 20 Nov 2015
Commenté : Walter Roberson
le 23 Nov 2015
Undefined function 'transformPointsForward' for input arguments of type 'single'. if i my using tform of 3*3 matrix...
0 commentaires
Réponse acceptée
Walter Roberson
le 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 commentaires
Walter Roberson
le 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.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Resizing and Reshaping Matrices dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!