[Insight-users] getting an flat picture from dicom volume

Luis Ibanez luis.ibanez at kitware.com
Thu Feb 5 10:33:05 EST 2009


Hi Hadi,

You may want to use the ProjectionFilters:

See the derived classes of:
http://www.itk.org/Insight/Doxygen/html/classitk_1_1ProjectionImageFilter.html

A common choice is to use the

      itkMaximumProjectionImageFilter.h


Please note that these filters will compute projections
for lines that are parallel to the image axis.

If you have a line that is not parallel then you
should consider the methods used for Digitally Reconstructed
Radiographs (DRR) illustrated in


   InsightApplications/
       IntensityBased2D3DRegistration/
                 GenerateProjection.cxx


That being said...
If you are generating this flat image for the sole
purpose of visualization, then you will have a lot
more flexibility by doing Volume Rendering with VTK.



    Regards,



        Luis



----------------------
Hadi Rezaee wrote:
> Dear all,
> 
> i've made an volume from a series of dicom files via
> itk and i can simply show the volume with vtk by using
> itk::ImageToVTKImageFilter without any problem.
> 
> What i want to do is to specify a line on the volume
> and save the flat picture.
> 
> let me clear my self. let's say i have 50 dicom
> images. after i made the volume from these images, i
> want user to give me two points on the top image that
> i will show him ,for example: X= 10,10 Y=40,40 . by
> specifying a line on a picture i want to get the flat
> picture from volume and save it to a file. 
> this flat picture should be produce from 3d volume by
> scanning all below layers.
> 
> please help me, it is so urgent.
> 
> 
>       
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
> 


More information about the Insight-users mailing list