필터 지우기
필터 지우기

estgeotform2d Not all transformType arguments are available?

조회 수: 2 (최근 30일)
Michael Jones
Michael Jones 2024년 3월 20일
댓글: Michael Jones 2024년 3월 21일
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개)

제품


릴리스

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by