[Insight-users] ManagedITK.VTK.dll
yasser salman
yass71 at yahoo.com
Tue Jul 21 05:07:52 EDT 2009
Dear Dan,
i'm already generate "ManagedITK.VTK.dll" , then use it to pass DicomVolume form VTK to ITK , The following error occured
F:\C#-VTK\Test2\Test2\Form1.cs(130,30): error CS1501: No overload for method 'GetOutput' takes '0' arguments
c:\ManagedITK\ManagedITK.VTK.dll: (Related file)
My Code is:
itkVTKImageToImageFilter_IF3 VIconnector = itkVTKImageToImageFilter_IF3.New();
vtkImageCast VTKimageCast = new vtk.vtkImageCast();
itkCastImageFilter_IF3IF3 castitk = itkCastImageFilter_IF3IF3.New();
// itkSmoothingRecursiveGaussianImageFilter_IF3IF3 ITKSmoothing = itkSmoothingRecursiveGaussianImageFilter_IF3IF3.New();
VTKimageCast.SetInput(Dcmreader.GetOutput()); //Dcmreader is vtkDICOMImageReader type.
VTKimageCast.SetOutputScalarTypeToFloat();
VTKimageCast.Update();
VIconnector.SetInput(VTKimageCast.GetOutput());
VIconnector.Update();
castitk.SetInput(VIconnector.GetOutput());
How can i fix it?
Regards
Yasser
More information about the Insight-users
mailing list