MeVisLab Toolbox Reference
mlDicomTreeMinMaxTools.h File Reference

Tool functions for the min/max value handling from and in DICOM frames and frame sets. More...

Go to the source code of this file.

Namespaces

 ml
 Main documentation file for ML users and developers.
 
 ml::DicomToMLTools
 Tool functions for the extraction and handling of information of specific DICOM frames.
 

Enumerations

enum  ml::DicomToMLTools::CalculateMinMaxFromDicomModes { ml::DicomToMLTools::CalculateMinMaxAutomatic = 0 , ml::DicomToMLTools::CalculateMinMaxOnlyFromDicomTags , ml::DicomToMLTools::CalculateMinMaxMaxScanImageData , ml::DicomToMLTools::NUM__CALC_MIN_MAX_FROM_DICOM_ENUMS }
 Available selectable DPL configurations. More...
 

Functions

MLDICOM_TO_ML_TOOLS_EXPORT void ml::DicomToMLTools::setUpMinMaxVoxelValues (std::string &errStr, DCMTree::Const_DictPtr dcmTreeDictPtr, double smallestPixelValue, double largestPixelValue, DCMTree::TreePtr dcmTree)
 Set up DCMTree_SmallestImagePixelValue and DCMTree_LargestImagePixelValue tags in dcmTree; requires that DCMTree_PixelRepresentation, DCMTree_SmallestImagePixelValue, or DCMTree_LargestImagePixelValue tags exist from which the value representation of the DCMTree_SmallestImagePixelValue and DCMTree_LargestImagePixelValue can be determined. More...
 
MLDICOM_TO_ML_TOOLS_EXPORT bool ml::DicomToMLTools::guessMinMaxRangeFromDICOMTags (DCMTree::Const_TreePtr treePtr, MLdouble &minPixVal, MLdouble &maxPixVal, DicomMessageCollector &dcmMsgCollector)
 Try to guess a min/max range from DICOM tags for the case that they cannot be determined in another way. More...
 
MLDICOM_TO_ML_TOOLS_EXPORT void ml::DicomToMLTools::calcImageDataMinMaxFromTag (DCMTree::Const_TreePtr &treePtr, MLint64 &minValInt64, MLint64 &maxValInt64, MLdouble &minValDbl, MLdouble &maxValDbl, DicomMessageCollector &dcmMsgCollector)
 Traverse all pixel values in the first found pixel data tag in the tree given by treePtr and returns their minimum and maximum values in minValDbl and maxValDbl as well as in minValInt64 and maxValint64. More...
 
MLDICOM_TO_ML_TOOLS_EXPORT void ml::DicomToMLTools::determineMinMaxValues (DCMTree::Const_TreePtr treePtr, PagedImage &pagedImg)
 Update min/max voxel values of pagedImg from tags in treePtr if possible, otherwise these settings are left unchanged. More...
 

Variables

MLDICOM_TO_ML_TOOLS_EXPORT const char *const ml::DicomToMLTools::CalculateMinMaxFromDicomModesEnumStrings [NUM__CALC_MIN_MAX_FROM_DICOM_ENUMS]
 Strings names corresponding to the selectable DplMinMaxEnums. More...
 

Detailed Description

Tool functions for the min/max value handling from and in DICOM frames and frame sets.

Author
Wolf Spindler
Date
2016-30-07

Definition in file mlDicomTreeMinMaxTools.h.