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

1 回表示 (過去 30 日間)
OJ27
OJ27 2017 年 2 月 17 日
コメント済み: OJ27 2017 年 2 月 22 日
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?

採用された回答

Vandana Rajan
Vandana Rajan 2017 年 2 月 20 日
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?

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGeometric Transformation and Image Registration についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by