estgeotform2d Not all transformType arguments are available?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Michael Jones
el 20 de Mzo. de 2024
Comentada: Michael Jones
el 21 de Mzo. de 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 comentarios
Respuesta aceptada
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.)
Más respuestas (0)
Ver también
Categorías
Más información sobre MATLAB Support Package for USB Webcams en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!