[Insight-users] 3D registration using own volume data format

Michael Eichler michael.eichler at student.uni-tuebingen.de
Fri Jun 18 09:58:30 EDT 2004


Hi!

I'm trying to apply the VersorRigid3DTransform to volume datasets in our own
format (that is quite similar to the .mha files but not identical). However, I
have no idea how to "tell" the registration object about the data.

In Examples/ImageRegistration8.cxx it is:

  fixedImageReader->SetFileName( argv[1] );
  movingImageReader->SetFileName( argv[2] );
  registration->SetFixedImage( fixedImageReader->GetOutput() );
  registration->SetMovingImage( movingImageReader->GetOutput() );

which reads the entire .mha files (definitions + data).

Is there a possibility to set the definitions (DimSize, ElementSpacing etc.)
by hand and reference the volume data - let's say - by a pointer to a voxel array?

I hope you get the point!

Thanks and kind regards,
Michael


More information about the Insight-users mailing list