Storing MeanSquares/MattesMutualInformation Metric Value from Imregister
1 view (last 30 days)
Show older comments
How can I store the values of the registration metric after optimization when using imregister.
Using DisplayOptimization 'true', the iteration and corresponding metric value (Mean Square Error/Mattes Mutual Information) is displayed in the command window.
However, I would like to store the value so I can compare the quality of a series of registrations using the metric. regmex.mexw64 in imregtform.m performs the registration but I cannot access the mex code.
Is there a straightforward way to do this? Any help would be much appreciated.
2 Comments
Matt J
on 3 Feb 2016
Luca Baldassarre asked:
Is there any update on this? I am also trying to evaluate the performance of the image registration, but I cannot output the value of the optimized metric.
Michael Price
on 4 Jan 2017
Same here. Right now I'm using 'DisplayOptimization',true with diary, but that's a ridiculous kluge. Ideally the underlying objective function could be directly called. There are many reasons one would want to do this, such as to calculate the Hessian.
See Also
Categories
Find more on Geometric Transformation and Image Registration in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!