vtkgdcm
|
read DICOM Image files (Pixel Data) More...
#include <vtkGDCMImageReader.h>
Public Types | |
typedef vtkMedicalImageReader2 | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
virtual void | PrintSelf (ostream &os, vtkIndent indent) |
virtual int | CanReadFile (const char *fname) |
virtual const char * | GetFileExtensions () |
Valid extensions. More... | |
virtual const char * | GetDescriptiveName () |
A descriptive name for this format. More... | |
virtual void | SetFileNames (vtkStringArray *) |
virtual vtkStringArray * | GetFileNames () |
virtual vtkMatrix4x4 * | GetDirectionCosines () |
Get the Image Position (Patient) as stored in the DICOM file This is a read-only data member. More... | |
virtual vtkMedicalImageProperties * | GetMedicalImageProperties () |
Get the medical image properties object. More... | |
virtual void | SetMedicalImageProperties (vtkMedicalImageProperties *pd) |
Get the medical image properties object. More... | |
virtual int | GetLoadOverlays () |
Specifically request to load the overlay into the gdcm-VTK layer (gdcm always loads them when found). More... | |
virtual void | SetLoadOverlays (int) |
Specifically request to load the overlay into the gdcm-VTK layer (gdcm always loads them when found). More... | |
virtual void | LoadOverlaysOn () |
Specifically request to load the overlay into the gdcm-VTK layer (gdcm always loads them when found). More... | |
virtual void | LoadOverlaysOff () |
Specifically request to load the overlay into the gdcm-VTK layer (gdcm always loads them when found). More... | |
virtual int | GetLoadIconImage () |
Set/Get whether or not to load the Icon as vtkImageData (if found in the DICOM file) More... | |
virtual void | SetLoadIconImage (int) |
Set/Get whether or not to load the Icon as vtkImageData (if found in the DICOM file) More... | |
virtual void | LoadIconImageOn () |
Set/Get whether or not to load the Icon as vtkImageData (if found in the DICOM file) More... | |
virtual void | LoadIconImageOff () |
Set/Get whether or not to load the Icon as vtkImageData (if found in the DICOM file) More... | |
virtual int | GetLossyFlag () |
Set/Get whether or not the image was compressed using a lossy compression algorithm. More... | |
virtual void | SetLossyFlag (int) |
Set/Get whether or not the image was compressed using a lossy compression algorithm. More... | |
virtual void | LossyFlagOn () |
Set/Get whether or not the image was compressed using a lossy compression algorithm. More... | |
virtual void | LossyFlagOff () |
Set/Get whether or not the image was compressed using a lossy compression algorithm. More... | |
virtual int | GetNumberOfOverlays () |
Read only: number of overlays as found in this image (multiple overlays per slice is allowed) Only valid when LoadOverlays is true. More... | |
virtual int | GetNumberOfIconImages () |
Read only: number of icon image (there can only be zero or one icon per file) Only valid when LoadIconImage is true. More... | |
vtkImageData * | GetOverlay (int i) |
Get Overlay/IconImage Remember to ALWAYS use those methods in your code, as the internal number for the output port is not garantee to remain the same, as features are added to the reader. More... | |
vtkImageData * | GetIconImage () |
Get Overlay/IconImage Remember to ALWAYS use those methods in your code, as the internal number for the output port is not garantee to remain the same, as features are added to the reader. More... | |
virtual int | GetApplyLookupTable () |
Load image with its associated Lookup Table. More... | |
virtual void | SetApplyLookupTable (int) |
Load image with its associated Lookup Table. More... | |
virtual void | ApplyLookupTableOn () |
Load image with its associated Lookup Table. More... | |
virtual void | ApplyLookupTableOff () |
Load image with its associated Lookup Table. More... | |
virtual int | GetApplyYBRToRGB () |
Load image as YBR. More... | |
virtual void | SetApplyYBRToRGB (int) |
Load image as YBR. More... | |
virtual void | ApplyYBRToRGBOn () |
Load image as YBR. More... | |
virtual void | ApplyYBRToRGBOff () |
Load image as YBR. More... | |
virtual int | GetImageFormat () |
Return VTK_LUMINANCE, VTK_INVERSE_LUMINANCE, VTK_RGB, VTK_RGBA, VTK_LOOKUP_TABLE, VTK_YBR or VTK_CMYK or 0 when ImageFormat is not handled. More... | |
virtual int | GetPlanarConfiguration () |
Return the Planar Configuration. More... | |
virtual double * | GetImagePositionPatient () |
Return the 'raw' information stored in the DICOM file: In case of a series of multiple files, only the first file is considered. More... | |
virtual void | GetImagePositionPatient (double &, double &, double &) |
Return the 'raw' information stored in the DICOM file: In case of a series of multiple files, only the first file is considered. More... | |
virtual void | GetImagePositionPatient (double [3]) |
Return the 'raw' information stored in the DICOM file: In case of a series of multiple files, only the first file is considered. More... | |
virtual double * | GetImageOrientationPatient () |
Return the 'raw' information stored in the DICOM file: In case of a series of multiple files, only the first file is considered. More... | |
virtual void | GetImageOrientationPatient (double &, double &, double &, double &, double &, double &) |
Return the 'raw' information stored in the DICOM file: In case of a series of multiple files, only the first file is considered. More... | |
virtual void | GetImageOrientationPatient (double [6]) |
Return the 'raw' information stored in the DICOM file: In case of a series of multiple files, only the first file is considered. More... | |
virtual vtkPolyData * | GetCurve () |
Set/Get the first Curve Data: More... | |
virtual void | SetCurve (vtkPolyData *pd) |
Set/Get the first Curve Data: More... | |
virtual double | GetShift () |
: Modality LUT Value returned by GetShift/GetScale might be innacurate since Shift/Scale could be varying along the Series read. More... | |
virtual double | GetScale () |
: Modality LUT Value returned by GetShift/GetScale might be innacurate since Shift/Scale could be varying along the Series read. More... | |
Static Public Member Functions | |
static vtkGDCMImageReader * | New () |
static int | IsTypeOf (const char *type) |
static vtkGDCMImageReader * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkGDCMImageReader () | |
~vtkGDCMImageReader () | |
virtual void | SetImageOrientationPatient (double, double, double, double, double, double) |
virtual void | SetImageOrientationPatient (double [6]) |
void | FillMedicalImageInformation (const gdcm::ImageReader &reader) |
int | RequestInformationCompat () |
int | RequestDataCompat () |
void | ExecuteInformation () |
void | ExecuteData (vtkDataObject *out) |
int | LoadSingleFile (const char *filename, char *pointer, unsigned long &outlen) |
void | SetFilePrefix (const char *) |
virtual char * | GetFilePrefix () |
void | SetFilePattern (const char *) |
virtual char * | GetFilePattern () |
Protected Attributes | |
vtkMatrix4x4 * | DirectionCosines |
int | LoadOverlays |
int | NumberOfOverlays |
int | LoadIconImage |
int | NumberOfIconImages |
int | IconImageDataExtent [6] |
double | ImagePositionPatient [3] |
double | ImageOrientationPatient [6] |
vtkPolyData * | Curve |
int | ImageFormat |
int | ApplyInverseVideo |
int | ApplyLookupTable |
int | ApplyYBRToRGB |
int | ApplyPlanarConfiguration |
int | ApplyShiftScale |
double | Shift |
double | Scale |
int | IconDataScalarType |
int | IconNumberOfScalarComponents |
int | PlanarConfiguration |
int | LossyFlag |
int | ForceRescale |
vtkMedicalImageProperties * | MedicalImageProperties |
Medical Image properties. More... | |
vtkStringArray * | FileNames |
Medical Image properties. More... | |
read DICOM Image files (Pixel Data)
vtkGDCMImageReader is a source object that reads some DICOM files this reader is single threaded.
This reader does not handle a series of 3D images, only a single 3D (multi frame) or a list of 2D files are supported for now.
Did not implement SetFilePattern / SetFilePrefix API, move it to protected section for now.
Definition at line 107 of file vtkGDCMImageReader.h.
typedef vtkMedicalImageReader2 vtkGDCMImageReader::Superclass |
Definition at line 111 of file vtkGDCMImageReader.h.
|
protected |
|
protected |
|
static |
|
virtual |
Reimplemented in vtkGDCMThreadedImageReader.
|
static |
|
virtual |
Reimplemented in vtkGDCMThreadedImageReader.
|
static |
|
virtual |
Reimplemented in vtkGDCMThreadedImageReader.
|
virtual |
|
inlinevirtual |
Valid extensions.
Definition at line 119 of file vtkGDCMImageReader.h.
|
inlinevirtual |
A descriptive name for this format.
Definition at line 128 of file vtkGDCMImageReader.h.
|
virtual |
Get the Image Position (Patient) as stored in the DICOM file This is a read-only data member.
|
virtual |
Get the medical image properties object.
|
virtual |
Get the medical image properties object.
|
virtual |
|
virtual |
|
virtual |
Specifically request to load the overlay into the gdcm-VTK layer (gdcm always loads them when found).
If no overlay is found in the image, then the vtkImageData for the overlay will be empty.
|
virtual |
Specifically request to load the overlay into the gdcm-VTK layer (gdcm always loads them when found).
If no overlay is found in the image, then the vtkImageData for the overlay will be empty.
|
virtual |
Specifically request to load the overlay into the gdcm-VTK layer (gdcm always loads them when found).
If no overlay is found in the image, then the vtkImageData for the overlay will be empty.
|
virtual |
Specifically request to load the overlay into the gdcm-VTK layer (gdcm always loads them when found).
If no overlay is found in the image, then the vtkImageData for the overlay will be empty.
|
virtual |
Set/Get whether or not to load the Icon as vtkImageData (if found in the DICOM file)
|
virtual |
Set/Get whether or not to load the Icon as vtkImageData (if found in the DICOM file)
|
virtual |
Set/Get whether or not to load the Icon as vtkImageData (if found in the DICOM file)
|
virtual |
Set/Get whether or not to load the Icon as vtkImageData (if found in the DICOM file)
|
virtual |
Set/Get whether or not the image was compressed using a lossy compression algorithm.
|
virtual |
Set/Get whether or not the image was compressed using a lossy compression algorithm.
|
virtual |
Set/Get whether or not the image was compressed using a lossy compression algorithm.
|
virtual |
Set/Get whether or not the image was compressed using a lossy compression algorithm.
|
virtual |
Read only: number of overlays as found in this image (multiple overlays per slice is allowed) Only valid when LoadOverlays is true.
|
virtual |
Read only: number of icon image (there can only be zero or one icon per file) Only valid when LoadIconImage is true.
vtkImageData* vtkGDCMImageReader::GetOverlay | ( | int | i | ) |
Get Overlay/IconImage Remember to ALWAYS use those methods in your code, as the internal number for the output port is not garantee to remain the same, as features are added to the reader.
vtkImageData* vtkGDCMImageReader::GetIconImage | ( | ) |
Get Overlay/IconImage Remember to ALWAYS use those methods in your code, as the internal number for the output port is not garantee to remain the same, as features are added to the reader.
|
virtual |
Load image with its associated Lookup Table.
|
virtual |
Load image with its associated Lookup Table.
|
virtual |
Load image with its associated Lookup Table.
|
virtual |
Load image with its associated Lookup Table.
|
virtual |
Load image as YBR.
|
virtual |
Load image as YBR.
|
virtual |
Load image as YBR.
|
virtual |
Load image as YBR.
|
virtual |
Return VTK_LUMINANCE, VTK_INVERSE_LUMINANCE, VTK_RGB, VTK_RGBA, VTK_LOOKUP_TABLE, VTK_YBR or VTK_CMYK or 0 when ImageFormat is not handled.
Warning: For color image, PlanarConfiguration need to be taken into account.
|
virtual |
Return the Planar Configuration.
This simply means that the internal DICOM image was stored using a particular planar configuration (most of the time: 0) For monochrome image, PlanarConfiguration is always 0
|
virtual |
Return the 'raw' information stored in the DICOM file: In case of a series of multiple files, only the first file is considered.
The Image Orientation (Patient) is garantee to remain the same, and image Image Position (Patient) in other slice can be computed using the ZSpacing (3rd dimension) (0020,0032) DS [87.774866-182.908510\168.629671] # 32, 3 ImagePositionPatient (0020,0037) DS [0.001479\0.999989-0.004376-0.002039-0.004372-0.999988] # 58, 6 ImageOrientationPatient
|
virtual |
Return the 'raw' information stored in the DICOM file: In case of a series of multiple files, only the first file is considered.
The Image Orientation (Patient) is garantee to remain the same, and image Image Position (Patient) in other slice can be computed using the ZSpacing (3rd dimension) (0020,0032) DS [87.774866-182.908510\168.629671] # 32, 3 ImagePositionPatient (0020,0037) DS [0.001479\0.999989-0.004376-0.002039-0.004372-0.999988] # 58, 6 ImageOrientationPatient
|
virtual |
Return the 'raw' information stored in the DICOM file: In case of a series of multiple files, only the first file is considered.
The Image Orientation (Patient) is garantee to remain the same, and image Image Position (Patient) in other slice can be computed using the ZSpacing (3rd dimension) (0020,0032) DS [87.774866-182.908510\168.629671] # 32, 3 ImagePositionPatient (0020,0037) DS [0.001479\0.999989-0.004376-0.002039-0.004372-0.999988] # 58, 6 ImageOrientationPatient
|
virtual |
Return the 'raw' information stored in the DICOM file: In case of a series of multiple files, only the first file is considered.
The Image Orientation (Patient) is garantee to remain the same, and image Image Position (Patient) in other slice can be computed using the ZSpacing (3rd dimension) (0020,0032) DS [87.774866-182.908510\168.629671] # 32, 3 ImagePositionPatient (0020,0037) DS [0.001479\0.999989-0.004376-0.002039-0.004372-0.999988] # 58, 6 ImageOrientationPatient
|
virtual |
Return the 'raw' information stored in the DICOM file: In case of a series of multiple files, only the first file is considered.
The Image Orientation (Patient) is garantee to remain the same, and image Image Position (Patient) in other slice can be computed using the ZSpacing (3rd dimension) (0020,0032) DS [87.774866-182.908510\168.629671] # 32, 3 ImagePositionPatient (0020,0037) DS [0.001479\0.999989-0.004376-0.002039-0.004372-0.999988] # 58, 6 ImageOrientationPatient
|
virtual |
Return the 'raw' information stored in the DICOM file: In case of a series of multiple files, only the first file is considered.
The Image Orientation (Patient) is garantee to remain the same, and image Image Position (Patient) in other slice can be computed using the ZSpacing (3rd dimension) (0020,0032) DS [87.774866-182.908510\168.629671] # 32, 3 ImagePositionPatient (0020,0037) DS [0.001479\0.999989-0.004376-0.002039-0.004372-0.999988] # 58, 6 ImageOrientationPatient
|
virtual |
Set/Get the first Curve Data:
|
virtual |
Set/Get the first Curve Data:
|
virtual |
: Modality LUT Value returned by GetShift/GetScale might be innacurate since Shift/Scale could be varying along the Series read.
Therefore user are advices not to use those functions anymore
|
virtual |
: Modality LUT Value returned by GetShift/GetScale might be innacurate since Shift/Scale could be varying along the Series read.
Therefore user are advices not to use those functions anymore
|
protectedvirtual |
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
inlineprotected |
Definition at line 361 of file vtkGDCMImageReader.h.
|
protectedvirtual |
|
inlineprotected |
Definition at line 363 of file vtkGDCMImageReader.h.
|
protectedvirtual |
|
protected |
Medical Image properties.
Definition at line 322 of file vtkGDCMImageReader.h.
|
protected |
Medical Image properties.
Definition at line 326 of file vtkGDCMImageReader.h.
|
protected |
Definition at line 330 of file vtkGDCMImageReader.h.
|
protected |
Definition at line 331 of file vtkGDCMImageReader.h.
|
protected |
Definition at line 332 of file vtkGDCMImageReader.h.
|
protected |
Definition at line 333 of file vtkGDCMImageReader.h.
|
protected |
Definition at line 334 of file vtkGDCMImageReader.h.
|
protected |
Definition at line 335 of file vtkGDCMImageReader.h.
|
protected |
Definition at line 336 of file vtkGDCMImageReader.h.
|
protected |
Definition at line 337 of file vtkGDCMImageReader.h.
|
protected |
Definition at line 338 of file vtkGDCMImageReader.h.
|
protected |
Definition at line 340 of file vtkGDCMImageReader.h.
|
protected |
Definition at line 342 of file vtkGDCMImageReader.h.
|
protected |
Definition at line 343 of file vtkGDCMImageReader.h.
|
protected |
Definition at line 344 of file vtkGDCMImageReader.h.
|
protected |
Definition at line 346 of file vtkGDCMImageReader.h.
|
protected |
Definition at line 347 of file vtkGDCMImageReader.h.
|
protected |
Definition at line 351 of file vtkGDCMImageReader.h.
|
protected |
Definition at line 352 of file vtkGDCMImageReader.h.
|
protected |
Definition at line 353 of file vtkGDCMImageReader.h.
|
protected |
Definition at line 354 of file vtkGDCMImageReader.h.
|
protected |
Definition at line 355 of file vtkGDCMImageReader.h.
|
protected |
Definition at line 356 of file vtkGDCMImageReader.h.
|
protected |
Definition at line 357 of file vtkGDCMImageReader.h.