estgeotform2d Not all transformType arguments are available?

1 visualización (últimos 30 días)
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.

Respuesta aceptada

Walter Roberson
Walter Roberson el 21 de Mzo. de 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.)
  1 comentario
Michael Jones
Michael Jones el 21 de Mzo. de 2024
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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre MATLAB Support Package for USB Webcams en Help Center y File Exchange.

Productos


Versión

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by