vtkgdcm
|
read DICOM Image files (Pixel Data) More...
#include <vtkGDCMImageReader2.h>
Inherits vtkMedicalImageReader2.
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 | SetMedicalImageProperties (vtkMedicalImageProperties *pd) |
virtual vtkMatrix4x4 * | GetDirectionCosines () |
Get the Image Position (Patient) as stored in the DICOM file This is a read-only data member. 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... | |
vtkAlgorithmOutput * | GetOverlayPort (int index) |
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... | |
vtkAlgorithmOutput * | GetIconImagePort () |
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 * | 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 vtkGDCMImageReader2 * | New () |
static int | IsTypeOf (const char *type) |
static vtkGDCMImageReader2 * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkGDCMImageReader2 () | |
~vtkGDCMImageReader2 () | |
virtual void | SetImageOrientationPatient (double, double, double, double, double, double) |
virtual void | SetImageOrientationPatient (double [6]) |
void | FillMedicalImageInformation (const gdcm::ImageReader &reader) |
int | RequestInformationCompat () |
int | RequestDataCompat () |
int | ProcessRequest (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
int | RequestInformation (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
int | RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
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 |
read DICOM Image files (Pixel Data)
vtkGDCMImageReader2 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 98 of file vtkGDCMImageReader2.h.
typedef vtkMedicalImageReader2 vtkGDCMImageReader2::Superclass |
Definition at line 102 of file vtkGDCMImageReader2.h.
|
protected |
|
protected |
|
static |
|
virtual |
|
static |
|
virtual |
|
static |
|
virtual |
|
virtual |
|
inlinevirtual |
Valid extensions.
Definition at line 110 of file vtkGDCMImageReader2.h.
|
inlinevirtual |
A descriptive name for this format.
Definition at line 119 of file vtkGDCMImageReader2.h.
|
virtual |
Get the Image Position (Patient) as stored in the DICOM file This is a read-only data member.
|
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.
vtkAlgorithmOutput* vtkGDCMImageReader2::GetOverlayPort | ( | int | index | ) |
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.
vtkAlgorithmOutput* vtkGDCMImageReader2::GetIconImagePort | ( | ) |
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* vtkGDCMImageReader2::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* vtkGDCMImageReader2::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 |
|
protected |
|
inlineprotected |
Definition at line 313 of file vtkGDCMImageReader2.h.
|
protectedvirtual |
|
inlineprotected |
Definition at line 315 of file vtkGDCMImageReader2.h.
|
protectedvirtual |
|
protected |
Definition at line 282 of file vtkGDCMImageReader2.h.
|
protected |
Definition at line 283 of file vtkGDCMImageReader2.h.
|
protected |
Definition at line 284 of file vtkGDCMImageReader2.h.
|
protected |
Definition at line 285 of file vtkGDCMImageReader2.h.
|
protected |
Definition at line 286 of file vtkGDCMImageReader2.h.
|
protected |
Definition at line 287 of file vtkGDCMImageReader2.h.
|
protected |
Definition at line 288 of file vtkGDCMImageReader2.h.
|
protected |
Definition at line 289 of file vtkGDCMImageReader2.h.
|
protected |
Definition at line 290 of file vtkGDCMImageReader2.h.
|
protected |
Definition at line 292 of file vtkGDCMImageReader2.h.
|
protected |
Definition at line 294 of file vtkGDCMImageReader2.h.
|
protected |
Definition at line 295 of file vtkGDCMImageReader2.h.
|
protected |
Definition at line 296 of file vtkGDCMImageReader2.h.
|
protected |
Definition at line 298 of file vtkGDCMImageReader2.h.
|
protected |
Definition at line 299 of file vtkGDCMImageReader2.h.
|
protected |
Definition at line 303 of file vtkGDCMImageReader2.h.
|
protected |
Definition at line 304 of file vtkGDCMImageReader2.h.
|
protected |
Definition at line 305 of file vtkGDCMImageReader2.h.
|
protected |
Definition at line 306 of file vtkGDCMImageReader2.h.
|
protected |
Definition at line 307 of file vtkGDCMImageReader2.h.
|
protected |
Definition at line 308 of file vtkGDCMImageReader2.h.
|
protected |
Definition at line 309 of file vtkGDCMImageReader2.h.