Page MenuHomePhabricator

MITK Registration MiniApp crashes after DiffusionImage change
Closed, ResolvedPublic

Description

this is caused by CastToItk Macros, which formerly weren't executed if the image type didn't fit a diffusion image.

Event Timeline

Problem is in mitk::RegistrationWrapper::GetTransformation()

testing whether image is of type diffusion can no longer be done by trying a CastToItk since this immediately crashes the application...

Determining which image type the input has and executing code accordingly has to be re-written. (Using image properties as done in mitk::RegistrationWrapper::ApplyTransformationToImage)

was fixed with recent update of the registration miniapp.