estgeotform2d Not all transformType arguments are available?

1 次查看(过去 30 天)
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.

采纳的回答

Walter Roberson
Walter Roberson 2024-3-21
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.)
  1 个评论
Michael Jones
Michael Jones 2024-3-21
Thanks, this is what I suspected. It would be creat if this was noted somewhere...
I guess I'll see when my institution plans on rolling out 2024a

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB Support Package for USB Webcams 的更多信息

产品


版本

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by