MeVisLab Toolbox Reference
|
Class to collect incrementally per frame all min/max related parameters of a DICOM frame set. More...
#include <mlDicomFrameSetMinMaxCalculation.h>
Public Member Functions | |
DicomFrameSetMinMaxCalculation (CalculateMinMaxFromDicomModes calcMinMaxModeArg, double defaultFillValueArg, DicomMessageCollector &dcmMsgCollectorArg) | |
void | updateMinMaxParamsForFrame (DCMTree::Const_TreePtr frameTree, const DICOMCachedIOFileHandle &frameHandle) |
Updates minMaxParams for a frameTree; once for each frame of a frame set. | |
void | logMinMaxFailures (const DICOMCachedIOFileHandle &firstFileName) |
Check minMaxParams container for final min/max validity and log errors if necessary. | |
void | updateMinMaxInImageProperties (MedicalImageProperties &imgProps) const |
Updates min/max values in resultImgProps if we could determine min/max values. | |
Class to collect incrementally per frame all min/max related parameters of a DICOM frame set.
Definition at line 39 of file mlDicomFrameSetMinMaxCalculation.h.
ml::DicomToMLTools::DicomFrameSetMinMaxCalculation::DicomFrameSetMinMaxCalculation | ( | CalculateMinMaxFromDicomModes | calcMinMaxModeArg, |
double | defaultFillValueArg, | ||
DicomMessageCollector & | dcmMsgCollectorArg ) |
calcMinMaxModeArg | Selects the mode how the min/max values are extracted/calculated from the DICOM trees. See CalculateMinMaxFromDicomModes for details. |
defaultFillValueArg | Empty frames in srcFrameTrees will be handled as if they are filled with voxels of value defaultFillValue. |
dcmMsgCollectorArg | Collects error, info and issue messages (typically related to a handle). |
void ml::DicomToMLTools::DicomFrameSetMinMaxCalculation::logMinMaxFailures | ( | const DICOMCachedIOFileHandle & | firstFileName | ) |
Check minMaxParams container for final min/max validity and log errors if necessary.
void ml::DicomToMLTools::DicomFrameSetMinMaxCalculation::updateMinMaxInImageProperties | ( | MedicalImageProperties & | imgProps | ) | const |
Updates min/max values in resultImgProps if we could determine min/max values.
void ml::DicomToMLTools::DicomFrameSetMinMaxCalculation::updateMinMaxParamsForFrame | ( | DCMTree::Const_TreePtr | frameTree, |
const DICOMCachedIOFileHandle & | frameHandle ) |
Updates minMaxParams for a frameTree; once for each frame of a frame set.
frameTree | The DCMTree for which min/max parameters shall be updated, nullptr is explicitly allowed to handle empty frames and their corresponding default fill values. |
frameHandle | The frame handle corresponding to frameTree. |