The Premultiply Convention in Geometric Transformations does not support C/C++ code generation?
Show older comments
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.
1 Comment
Kenneth
on 25 Mar 2025
That's a really interesting point about the inconsistency between the new and old geometric transformation functions in MATLAB. It's definitely odd that the newer, recommended 'premultiply convention' functions lack C/C++ code generation, especially when the older ones support it. You're right, rigid transformations are fundamental and should absolutely be included. Hopefully, MathWorks addresses this in future releases.
Accepted Answer
More Answers (1)
Benjamin Thompson
on 10 Oct 2022
0 votes
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.
Categories
Find more on Image Processing and Computer Vision in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!