MATLAB Answers

how can I access/change data in images.geo​trans.Poly​nomialTran​sformation​2D object?

1 view (last 30 days)
OJ27
OJ27 on 17 Feb 2017
Commented: OJ27 on 22 Feb 2017
I want to change A and B for the result of images.geotrans.PolynomialTransformation2D, but how can I access these matrices? Or how can I create an object of PolynomialTransformation2D type? When I copy the data to a new dummy variable and try to change A, I get "You cannot set the read-only property 'A' of PolynomialTransformation2D"
Do I have to change the permissions of the object?

  0 Comments

Sign in to comment.

Accepted Answer

Vandana Rajan
Vandana Rajan on 20 Feb 2017
Hi,
I tried the example given in https://www.mathworks.com/help/images/ref/images.geotrans.polynomialtransformation2d-class.html#examples
and then did the following
dummy = [tformPolynomial.A+0.01];
tformPolynomial2 = images.geotrans.PolynomialTransformation2D(dummy,tformPolynomial.B);
Is this the kind of thing you wish to try?

More Answers (0)

Sign in to answer this question.