[vtkusers] How do i port an image from ITK to VTK
Kevin H. Hobbs
hobbsk at ohiou.edu
Wed Oct 11 12:37:29 EDT 2006
On Wed, 2006-10-11 at 16:07 +0200, Prename Surname wrote:
> Hello Brian.
> I have tried to do what you said, and it makes good sense. I think i
> almost got i working, but i still have a doubt about how exactly i can
> connect the
> itk::ImageToVTKImageFilter to the vtkVolumeRayCastMapper.
> It seems that ImageToVTKImageFilter->GetOutput(...) returns a
> vtkImageData, and
> vtkVolumeRayCastMapper->SetInputConnection(...) only accepts a
> vtkAlgorithmOutput object.
>
>
I do VTK -> ITK -> VTK to stream through ITK filters in the attached
file. I want the pieces in a specific order so I mess with them. You can
ignore that part.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: VTK2ITKGradientAnisotropicDiffusionImageFilter.cxx
Type: text/x-c++src
Size: 5283 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20061011/15bd15fb/attachment.cxx>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20061011/15bd15fb/attachment.pgp>
More information about the vtkusers
mailing list