estgeotform2d Not all transformType arguments are available?
1 view (last 30 days)
Show older comments
Michael Jones
on 20 Mar 2024
Commented: Michael Jones
on 21 Mar 2024
Hi,
I have a time series of images that have a translation with no rotation (it's a fixed stage in the rotation axis) that I need to align. So far I'm having great success with using detectSIFTFeatures and then aligning matched pairs with estgeotform2d, with the transformType set to "rigid". However, sometimes this introduces a rotation, and so a "translation" transformType would be better. But when I try this I get an error?
estgeotform2d(matchedDistorted,matchedOriginal,'translation')
Error using vision.internal.geotrans.parseEstimateGeometricTransform>checkTransformType2d
Expected TransformType to match one of these values:
'rigid', 'similarity', 'affine', 'projective'
The input, 'translation', did not match any of the valid values.
Error in vision.internal.geotrans.parseEstimateGeometricTransform (line 67)
[sampleSize, tformType] = checkTransformType2d(char(transformType), fileName);
Error in vision.internal.geotrans.algEstimateGeometricTransform (line 31)
vision.internal.geotrans.parseEstimateGeometricTransform(statusCode,...
Error in estgeotform2d (line 11)
vision.internal.geotrans.algEstimateGeometricTransform(...
The documentation clearly states that "translation" is an option (since R2022b): https://au.mathworks.com/help/vision/ref/estgeotform2d.html
But then if I click on the link in the error message it says that "translation" is not an option?
Do I need to update something? It seems my Matlab (2023b) has less functionallity?
Thanks in advance.
0 Comments
Accepted Answer
Walter Roberson
on 21 Mar 2024
You are looking at the R2024a documentation, but you are using R2023b.
(That and the fact that the R2024a documentation misses out noting the change in the change summary section.)
More Answers (0)
See Also
Categories
Find more on MATLAB Support Package for USB Webcams 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!