[vtkusers] blend image

Massinissa Bandou Massinissa.Bandou at USherbrooke.ca
Sat Feb 15 16:20:55 EST 2014


Hello VTK!

I performed a landmark registration to match two volumes and it works fine.
So I decided to display the result as a combination of dicom series using
vtkImageBlend. As you can see on the picture below, image1 is not aligned
with image2 even if I set the information from image2 to image1. What's
wrong with this code??

thx for your help!
Massi 

	vtkSmartPointer<vtkImageReslice> reslice =
vtkSmartPointer<vtkImageReslice>::New();
	reslice->SetInput(image1);
	reslice->SetInformationInput(image2);
	//reslice->SetResliceTransform(Transformation); // transformation from
landmarks
	reslice->Update();

<http://vtk.1045678.n5.nabble.com/file/n5725947/test.png> 



--
View this message in context: http://vtk.1045678.n5.nabble.com/blend-image-tp5725947.html
Sent from the VTK - Users mailing list archive at Nabble.com.


More information about the vtkusers mailing list