Hi all,<br><br>I'm trying to register 3D CT images, rigid and affine transforms at first. I have slice by slice DICOM data at hand. At the output of my own reader, I obtain two VTK objects filled with the pixel values and the header of the files. I need to connect VTK to ITK, then proceed with the registration in ITK and then convert ITK to VTK again for the visualization part. I encountered some problems at this stage:<br>
<br>1) In the 3D rigid transform example "ImageRegistration8.cxx" it seems to be that ITK takes .mha documents as an input. Does it have to be ".mha"? Can we use another input type for it, if so, what kind of input does ITK take? Do we need a conversion while doing this?<br>
<br>2) This may seem trivial but, how could I get over the casting problem from float to double, unsigned char to double and vice versa?<br><br>3) I use a converter for the passage from VTK to ITK and ITK to VTK but I'm not sure about the performance of it. Could you advise me a converter that does the job for going back and forth between VTK & ITK?<br>
<br><br>Thanks,<br><br>Vural<br>