The Premultiply Convention in Geometric Transformations does not support C/C++ code generation?

2 ビュー (過去 30 日間)
Since version R2022b, the Premultiply Convention has been recommended in priority in Geometric Transformations in the IPL(image processing toolbox) and CVT(computer vision toolbox) toolboxes, which is very much in line with industry usage. However, it is strange that some of the recommended new functions do not support C/C++ code generation, while the old ones do. For example, affinetform2d/affinetform3d do not support this, while the old functions affine2d/affine3d support C/C++ code generation. rigidtform2d/rigidtform3d should also support C/C++ generation, as this geometric transformation is very basic and typical. It is hoped that subsequent versions of TMW will enhance this function.

採用された回答

Qu Cao
Qu Cao 2022 年 10 月 17 日
Thank you for reporting this. There is a bug in the documentation. All the geometric transformation objects with the premultiply convention should support C/C++ code generation.
  2 件のコメント
cui,xingxing
cui,xingxing 2022 年 10 月 18 日
編集済み: cui,xingxing 2022 年 10 月 18 日
  • As a side note, I have found that some apps have not yet migrated to pre-multiply, for example, after aligning two images in registrationEstimator, the automatically exported functions or variables still use the post-multiply form.This is a minor issue, just be aware of it
  • The formula in the Algorithms section at the bottom of the help documentation for the function estimateCameraParameters should also be changed to pre-multiply.
Qu Cao
Qu Cao 2022 年 10 月 18 日
Thank you agian for reporting these issues! We will fix them in a future release.

サインインしてコメントする。

その他の回答 (1 件)

Benjamin Thompson
Benjamin Thompson 2022 年 10 月 10 日
This is just a notational thing right? Why would it affect how the code is generated and executed? The code generation and execution processes should generate the most efficient code possible.

カテゴリ

Help Center および File ExchangeImage Processing and Computer Vision についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by