[vtkusers] [VTK] Some Problem using vtkExtractVOI class

Jinsik Oh js21cfriend at gmail.com
Wed Feb 12 00:15:32 EST 2014


Dear guy.

I have a some problems using vtkExtractVOI class

my work is extract to some slice from volume and then rendering to that
slices.

but i have a problem, the extracted volume seems to have noise(look like
concentric circles).

I compare to original volume between extracted volume that's pipeline is
same.

How can i solve this problem? or could you suggest to me some keywords for
finding in vtk document/example.

#Example code
  vtkSmartPointer<vtkDICOMImageReader> source =
vtkSmartPointer<vtkDICOMImageReader>::New();
  source->SetDirectoryName(inputFilename.c_str());
  source->Update();

  vtkSmartPointer<vtkExtractVOI> extractVOI =
vtkSmartPointer<vtkExtractVOI>::New();
  extractVOI->SetInputConnection(source->GetOutputPort());
  extractVOI->SetVOI(0, 512 , 255, 256 , 0, 500);
  extractVOI->Update();

#Enviroment
vtk 5.10.1
VS 2010
Windows7 64bit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20140212/1bd0913f/attachment.html>


More information about the vtkusers mailing list