[Insight-users] itkImageDuplicator with itkVectorImage
Emmanuel Christophe
emmanuel.christophe at gmail.com
Wed Mar 12 13:29:16 EDT 2008
Hi,
I think there is just one line missing to be able to use the
itkImageDuplicator with itkVectorImage. In the Update() method of
itkImageDuplicator.txx, during the output image allocation, adding:
m_Output->SetNumberOfComponentsPerPixel
(m_InputImage->GetNumberOfComponentsPerPixel());
seems to enable the usage of itkVectorImage with the duplicator.
As itkImage also has these methods, this shouldn't change the current
behavior of the filter.
Regards,
Emmanuel
More information about the Insight-users
mailing list