Filter löschen
Filter löschen

Different result of imregtform in different matlab version

3 Ansichten (letzte 30 Tage)
Yang Gao
Yang Gao am 28 Nov. 2022
Beantwortet: Gowtham am 26 Sep. 2023
Hello everyone,
I have a problem with function imregtform. With this function, a video should be stabilized. The matrices are appended.
Method: The stabilization depends only on the first frame of the video, so there should not be any cumulative error. Only translation is applied. After stabilization, I recorded the the translation in form x,y frame by frame. A total of three matlab versions are tested. For each version, tests with same input are repeated for three times.
Result: For all tests in the same version, the translation stay the same. Three versions provide totally two different results. R2021a Update 2 has one value, while both R2021 a Update 5 and R2022 a have the other.
Question: I'd like to know if this difference is due to some internal update, or is there any other reason, since I don't think the algorithm behind is randomized. Based on the answer, I need to put some limits of the used version.
Thanks a lot.

Antworten (1)

Gowtham
Gowtham am 26 Sep. 2023
Hello Yang,
I understand that you are experiencing variations in the outputs of the imregtform function across different updates of a MATLAB release.
Upon reviewing the MATLAB Release Notes for both 'R2021a Update 2' and 'R2021a Update 5', it appears that there have been no specific changes made to the implementation of the imregtform function within the Image Processing Toolbox.
It is worth noting that the stabilization results can be influenced by the differences in default settings or optimizations that are specifically tailored for various hardware or platforms in different MATLAB versions.
If you need further clarification on the same, please provide the necessary steps to reproduce the issue.
Kindly refer to the following MATLAB Release Notes for further understanding on the issue https://www.mathworks.com/content/dam/mathworks/mathworks-dot-com/support/updates/r2021a/r2021a-updates-release-notes.pdf .
Hope this helps.
Best Regards,
Gowtham

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by