26 #ifndef DICOMTREESERIECOMPONENT_H
27 #define DICOMTREESERIECOMPONENT_H
31 class DicomStudyComponent;
33 class ImageOrientationHelper;
40 class vtkGDCMImageReader;
109 vtkSmartPointer<vtkImageData>
translate(vtkSmartPointer<vtkImageData> imageData,
double x,
double y,
double z);
114 #endif // DICOMTREESERIECOMPONENT_H
void updateLUT()
Update the LUT of the image by reading the good information from the DICOM headers.
Definition: DicomTreeSerieComponent.cpp:139
Definition: Action.cpp:40
vtkGDCMImageReader * imageReader
The image reader using GDCM that allows to read DICOM image as vtkImageData.
Definition: DicomTreeSerieComponent.h:81
DicomTreeSerieComponent(const std::vector< std::string > &fileNames)
Build a ImageComponent representing the volumic image of the acquistion by a specific MODALITY...
Definition: DicomTreeSerieComponent.cpp:49
The manager of the Image Volume data.
Definition: ImageComponent.h:73
PossibleImageOrientations
For each axis (x, y or z), 6 possibilities:
Definition: ImageOrientationHelper.h:52
This component allows you to read DICOM images files of a single SERIE of a given STUDY...
Definition: DicomTreeSerieComponent.h:59
camitk::ImageOrientationHelper::PossibleImageOrientations readDirectCosinesAngle(const std::vector< std::string > &fileNames) const
Read the direct cosines angles from the input image.
Definition: DicomTreeSerieComponent.cpp:151
virtual ~DicomTreeSerieComponent()
Default Destructor.
Definition: DicomTreeSerieComponent.cpp:134
vtkSmartPointer< vtkImageData > translate(vtkSmartPointer< vtkImageData > imageData, double x, double y, double z)
Translate the image data to the frame origin and store the opposite translate as a frame of the compo...
Definition: DicomTreeSerieComponent.cpp:258
double roundCosine(const double &value) const
Round the cosine input to the closest value between -1, 0 or 1.
Definition: DicomTreeSerieComponent.cpp:248