[vtkusers] Stitching two vtkImageData together

Siavash Khallaghi siavashk at ece.ubc.ca
Fri Aug 21 18:28:27 EDT 2015


Thanks, works like a charm. For anyone else who is interested, this is the
relevant portion of the code:

vtkSmartPointer<vtkImageAppend> append =
vtkSmartPointer<vtkImageAppend>::New();
append->AddInputData(image1); // image1 is of type
vtkSmartPointer<vtkImageData>
append->AddInputData(image2); // image2 is of type
vtkSmartPointer<vtkImageData>
append->SetAppendAxis(0); //append along x axis
append->Update();



--
View this message in context: http://vtk.1045678.n5.nabble.com/Stitching-two-vtkImageData-together-tp5733579p5733594.html
Sent from the VTK - Users mailing list archive at Nabble.com.


More information about the vtkusers mailing list