[Insight-users] Seamless VTK-ITK pipeline connection

jleandro jleandro at vision.ime.usp.br
Sun Apr 11 22:07:12 EDT 2010


Hi, Theodore

By the way, is it possible to adapt the vtkKWImageIO class for reading
ordinary image series (tif, jpg, bmp, png, etc). I would like to read a
series of .tiff microscopy images with VTK, so that I could build a volume
afterwards.

Hugs 


Luis Ibanez wrote:
> 
> 
> Hi Theodore,
> 
> Yes, the vtkKWImageIO class can read DICOM Series.
> 
> Please look at the methods:
> 
>   void SetDirectory( const std::string & directory );
>   void ReadImageSeries();
> 
> When you pass the filename of a DICOM slice to this
> class, and then call ReadImageSeries(), the classs
> will find the series of the DICOM file, and collect
> all other slices of the same series from that directory.
> 
> 
>    Regards,
> 
> 
>        Luis
> 
> 
> 
> ----------------------
> Mutanga Theodore wrote:
>> Hello there
>> 
>> I was reading the Seamless VTK-ITK pipeline connection contribution on
>> the
>> Insight Journal and I am wondering if you have any demonstration of a
>> pipeline with how this can be used to read a DICOM series.
>> 
>> I have implemented a pipeline based on the Medical Image Example and I
>> read in a dicom series using ITK series reader , then I connect to VTK
>> and
>> try to display the 3D image. What happens now is that if I pass output
>> directly from connection to viewer I get a segmentation fault but if I
>> first write  connection output to file (.vti) and then read it with XML
>> file reader and then pass the readers output to viewer, everthing works
>> well.
>> Do you have any idea what is going on ? Why can't I view the output
>> directly from the connector ?
>> 
>> Hope to hear from you.
>> 
>> T.
>> 
>> 
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
> 
> 

-- 
View this message in context: http://old.nabble.com/Re%3A-Seamless-VTK-ITK-pipeline-connection-tp11602142p28213246.html
Sent from the ITK - Users mailing list archive at Nabble.com.



More information about the Insight-users mailing list