Hi ! I am running some Elastix registrations and I would like to know if it is possible to get the Stopping Condition out of sitk.ElastixImageFilter() ? And same question for the Final Metric ? In a similar way as with the sitk.ImageRegistrationMethod() class ?
Something like this :
Hi ! I am running some Elastix registrations and I would like to know if it is possible to get the Stopping Condition out of
sitk.ElastixImageFilter()
? And same question for the Final Metric ? In a similar way as with thesitk.ImageRegistrationMethod()
class ? Something like this :ElastixImageFilter = sitk.ElastixImageFilter()
ElastixImageFilter.SetFixedImage(fixe)
ElastixImageFilter.SetMovingImage(move)
ElastixImageFilter.Execute()
stop_condition = ElastixImageFilter.GetOptimizerStopConditionDescription()
final_metric_value = ElastixImageFilter.GetMEtricValue()
Thanks !