[vtkusers] Set the contour value from DicomReader
Larcher Aurélie
aurelie.larcher at imag.fr
Fri Dec 19 06:00:30 EST 2008
Hi all,
I try to set contour value to my Dicom Reader in order to generate skin
surface.
When I use filter like vtkMarchingContourFilter or vtkContourFilter with the
contour value 30, there is no result.
vtkDICOMImageReader *colonneReader = vtkDICOMImageReader::New();
colonneReader->SetDirectoryName("F:/Images/VDH/Dicom/");
colonneReader->Update() ;
vtkMarchingContourFilter *surfacePeau =
vtkMarchingContourFilter::New();
surfacePeau->SetInputConnection(colonneReader->GetOutputPort());
surfacePeau->SetValue(0,30);
Nevertheless, when I use vtkEdgePoints with the same contour value, I have
some result
vtkEdgePoints *surfacePeau = vtkEdgePoints::New();
surfacePeau->SetInputConnection(colonneReader->GetOutputPort());
surfacePeau->SetValue(30);
If I changed the contour value at 200, I obtain the same result with the 3
filters (with different appearance obviously).
Can you tell me whats the problem and how can I generate skin surface with
vtkMarchingContourFilter or vtkContourFilter.
Thanks,
Aurélie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20081219/fe8d866b/attachment.htm>
More information about the vtkusers
mailing list