[Insight-users] Writing 2.5 segmentation to 3D int array ??

Luis Ibanez luis.ibanez at kitware.com
Wed May 20 23:06:33 EDT 2009


Hi Firat,

You may want to try the PastImageFilter for inserting the 2D results
in an output 3D volume.

You may also want to try the SliceBySliceImage filter for driving the
actual segmentation on a slice by slice basis.


However,...
why don't you solve the problem in 3D ?
ITK filters are N-Dimensional.

Do you have concerns about memory limitations ?



    Regards,


        Luis


---------------------------------------
firat.sarialtun at boun.edu.tr wrote:
> 
> Hi Everyone. I have been trying to implement
> GeodesicActiveContourLevelSetImageFilter in
> ITK for the purpose of Liver Segmentation. Right now I'm working on 2.5D
> (slice-by-slice) segmentation of dicom data. I created a 3D array and I want to
> write the segmentation results to this 3D array, that is for each slice, I use
> the output of the thresholder (binary segmented image) and write 0 to the 3D
> array for nonliver pixels and 1 for liver pixels (that is 255 in the image) and
> create a ^D model of segmented liver. I want to ask is there an easy way to do
> this slice by slice. Because I'm thinking to use iterators to traverse the
> image and write it to the 3D array pixel-by-pixel which I believe will be
> burdensome for all slices. Is there a way to transfer one slice completely to
> one z-dimension of my 3D array in a fast way?
> 
> Thanks,
> 
> Firat
> _____________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.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
> 


More information about the Insight-users mailing list