Clear Filters
Clear Filters

How to know the best "Number of Iterations" when using imregister?

4 views (last 30 days)
Dear all,
I am trying to register two gray-scale images using the new function imregister. However, I should determine the number of Maximum Iterations, 'MaximumIterations'.
Some users use 100 and some use 1000. Is there someway to know the best Maximum Iterations? or to stop automatically when registration reaches to best level?
Thank you very much.
Meshoo

Accepted Answer

Anand
Anand on 16 Apr 2013
Read this for some general tips/advice about using imregister.
There's no straight answer to your question. You'll have to try a certain number of iterations with a test image from your dataset, increase it, see if it gets better, increase again and check the results and so on. So, "guided trial and error" is the best way to go. Also, don't just focus on number of iterations, look at the other parameters as well.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!