[vtkusers] [Insight-users] Cropping Problem

Yusuf OEZBEK nasil122002 at yahoo.de
Wed May 5 19:47:00 EDT 2010


Hello,


Sorry but, I wait since three weeks for an answer



________________________________
Von: Yusuf OEZBEK <nasil122002 at yahoo.de>
An: Luis Ibanez <luis.ibanez at kitware.com>; ITK Mailinglist <insight-users at itk.org>; VTK Mailinglist <vtkusers at vtk.org>
CC: nasil122002 at gmail.com
Gesendet: Freitag, den 23. April 2010, 23:57:34 Uhr
Betreff: Re: [Insight-users] Cropping Problem


Hello, 


Here are the outputs/results for volume rendering, marching cubes, watershed and region growing segmentation. After the segmentation (in itk) i have the .mhd files saved for both segmentations (watershed and region growing). After this I wanted to the results load into ParaView. But in both files are nothing to see and always get the errors
"ERROR: In .. \ .. \ .. \ src \ server \ Filters \ vtkTexturePainter.cxx, line 287 vtkTexturePainter (00000000082D23E0): Incorrect dimensionality. " and 
"ERROR: In .. \ .. \ .. \ src \ VTK \ IO \ vtkMetaImageReader.cxx, line 105 vtkMetaImageReader (00000000123D7000): Unknown data type: 11 "



Outputs of  "reader->GetOutput()->Print( std::cout );"

http://www.wopsys.com/Outputs/Output_MarchingCubes.txt
http://www.wopsys.com/Outputs/Output_VolumeRendering.txt

http://www.wopsys.com/Outputs/Output_Watershed.txt
http://www.wopsys.com/Outputs/Output_RegionGrowing.txt


and the .mhd Files

http://www.wopsys.com/Outputs/RegionGrowing.mhd
http://www.wopsys.com/Outputs/RegionGrowing.raw

http://www.wopsys.com/Outputs/Watershed.mhd
http://www.wopsys.com/Outputs/Watershed.raw



All as .zip

http://www.wopsys.com/Outputs.zip



Thank you.


________________________________
Von: Luis Ibanez <luis.ibanez at kitware.com>
An: Yusuf OEZBEK <nasil122002 at yahoo.de>
CC: ITK Mailinglist <insight-users at itk.org>; VTK Mailinglist <vtkusers at vtk.org>; nasil122002 at gmail.com
Gesendet: Sonntag, den 18. April 2010, 1:12:33 Uhr
Betreff: Re: [Insight-users] Cropping Problem


Hi Yusuf,


You should start by separating the segmentation
problem from the visualization problem.


Please do the following:

0) Just after you call:

   reader->SetFileNames( fileNames );
   reader->Update();

   add

   reader->GetOutput()->Print( std::cout );

   then

1) Run the ITK segmentation pipeline until you 
    get the segmented image, and save it as a
    MetaImage file (with extension .mhd)


2) Post the content of the resulting .mhd file 
    back to the list, as well as the print out of 
    the statement:

   reader->GetOutput()->Print( std::cout );


3) Use Paraview (www.paraview.org) to load the
    resulting image and extracting an iso-surface.
    Compare that iso-surface with the one that 
    you get by directly from the DICOM image.
    (and let us know what you find).


With the information from (2) we should be 
able to identify if any geometrical information
is missing from the ITK processing pipeline.


   Thanks


         Luis


------------------------------------------------------------------------

On Thu, Apr 15, 2010 at 5:54 PM, Yusuf OEZBEK <nasil122002 at yahoo.de> wrote:

>
>Hello,
>Can anyone help me please? I have a problem with to cut (cropping) a 3D
>object, which I produced by the segmentation-method “watershed and region growing”.
>In the beginning I read the DICOM images with itkImageSeriesReader, then I run watershed
>or region growing algorithm, in order to connect itk with vtk and a 3D object
>produce and for the displaying of segmentation, I use vtkContourFilter. After
>segmentation of cropping the images I use vtkBoxClipDataSet,
>vtkDataSetSurfaceFilter and vtkPolyDataMapper, but the result is a black
>screen.  When I read the images with
>vtkDICOMImageReader and then segmented with volume rendering or marching cubes,
>then it works completely well. The problem arises only for watershed and region
>growing Algorithm. Where is my mistake in the code, what am I doing wrong? 
>To understand my problem better, please see my screenshots on the
>following link.
>
>
>http://www.wopsys.com/bilder/segmentation.html
>
>
>
>Thank you.
>
>>
>
>
>__________________________________________________
>Do You Yahoo!?
>Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. 
>http://mail.yahoo.com 
>_____________________________________
>>Powered by www.kitware.com
>
>>Visit other Kitware open-source projects at
>http://www.kitware.com/opensource/opensource.html
>
>>Kitware offers ITK Training Courses, for more information visit:
>http://www.kitware.com/products/protraining.html
>
>>Please keep messages on-topic and check the ITK FAQ at:
>http://www.itk.org/Wiki/ITK_FAQ
>
>>Follow this link to subscribe/unsubscribe:
>http://www.itk.org/mailman/listinfo/insight-users
>
>

__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. 
http://mail.yahoo.com 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100505/1ef91322/attachment.htm>


More information about the vtkusers mailing list