Thank you for your response. Here the example is attached if I am using the single image multiple times its running fine but with different images, it’s throwing the error.
And another question is for visualization of the processed image we have to use to feed that image to vtk for visualization, right?
The bigger picture is, I want to register MRI and PET images together using ITK and visualization have to use VTK and make GUI for loading images and show register image on Visual Studio GUI.
Registration methods may be geometrical base or landmark base method.
If you people give your expert opinion I would be highly thankful to you.opinion on how to pipeline this task step by step.
I have make GUI in Visual Studio using Qt.