|
Computer Assited Medical Intervention Tool Kit
version 5.0
|
|
Go to the documentation of this file.
26 #ifndef DICOMCOMPONENT_H
27 #define DICOMCOMPONENT_H
34 class vtkGDCMImageReader;
102 #endif // DICOMCOMPONENT_H
#define CAMITK_WARNING(MSG)
Log for warning verbosity (the most common one) Will appear by default.
Definition: Log.h:266
static double getZSpacing(const std::vector< std::string > &seriesFileNames)
Retrieve the DICOM image file Z spacing attribute (commonly known as spacing between slices)
Definition: DicomParser.cpp:219
std::vector< std::string > getStdFileNames() const
Definition: DicomSeries.cpp:59
DicomComponent(DicomSeries *dSeries)
Create a new Component that handles DICOM images This method may throw an AbortException if a problem...
Definition: DicomComponent.cpp:48
vtkSmartPointer< vtkGDCMImageReader > imageReader
The image reader using GDCM that allows to read DICOM image as vtkImageData.
Definition: DicomComponent.h:73
The manager of the Image Volume data. An image volume data has no concrete 3D representation,...
Definition: ImageComponent.h:77
virtual vtkSmartPointer< vtkWindowLevelLookupTable > getLut()
get the current lookup table
Definition: ImageComponent.cpp:742
void updateLUT()
Update the LUT of the image by reading the good information from the DICOM headers.
Definition: DicomComponent.cpp:160
double roundCosine(const double &value) const
Round the cosine input to the closest value between -1, 0 or 1.
Definition: DicomComponent.cpp:298
camitk::ImageOrientationHelper::PossibleImageOrientations readDirectCosinesAngle(const std::vector< std::string > &fileNames) const
Read the direct cosines angles from the input image.
Definition: DicomComponent.cpp:171
#define CAMITK_ERROR(MSG)
Log for error verbosity (the minimum verbosity) Will always appear.
Definition: Log.h:276
DicomSeries * series
The associated DicomSeries to this component.
Definition: DicomComponent.h:99
virtual ~DicomComponent()
Default Destructor.
Definition: DicomComponent.cpp:153
DICOM Component represents a volumic image of a DICOM SERIES with its corresponding tags information ...
Definition: DicomComponent.h:45
void setName(const QString &) override
set the name to be displayed
Definition: sdk/libraries/core/component/Component.h:932
DicomSeries * getSeries()
Get the DicomSeries associated to this component.
Definition: DicomComponent.h:60
void setImageData(vtkSmartPointer< vtkImageData > anImageData, bool copy, ImageOrientationHelper::PossibleImageOrientations initialOrientation=ImageOrientationHelper::RAI, vtkSmartPointer< vtkMatrix4x4 > initialTransformMatrix=nullptr)
Set the image data of the volumic images with the given orientation options.
Definition: ImageComponent.cpp:251
#define CAMITK_ERROR_IF(COND, MSG)
Definition: Log.h:327
PossibleImageOrientations
For each axis (x, y or z), 6 possibilities:
Definition: ImageOrientationHelper.h:52
DicomSeries is a CamiTK high level class to represent a DICOM SERIES This class encapsulates GDCM obj...
Definition: DicomSeries.h:49
Definition: Action.cpp:35