[vtkusers] Dicom Header File

John Drescher drescherjm at gmail.com
Sat Mar 17 10:07:09 EDT 2012


On Sat, Mar 17, 2012 at 9:41 AM, Hellice <saouli-abdelhak at hotmail.com> wrote:
> What about DICOMParser i found it in vtk/Utilities after i did build vtk
> 5.6.1; does that means somthing ?
>

It looks like you can parse dicom files using DICOMParser. Use
DICOMParser to parse your file then use DICOMAppHelper to get your
header information.  I think you will want to extend the
DICOMAppHelper  to add more callbacks for the additional DICOM tags
you are interested in. To use this it looks like you create both a
DCIOMParser and DICOMAppHelper objects then use the
DICOMAppHelper::RegisterCallbacks() function to register the callbacks
to DICOMParser. Then you can have DICOMParser parse the file and get
your results in your extended DICOMAppHelper object.

John



More information about the vtkusers mailing list