12 #ifndef mitkImageStatisticsContainerManager_h
13 #define mitkImageStatisticsContainerManager_h
#define MITKIMAGESTATISTICS_EXPORT
Base class of all data objects.
Abstract data management class that organizes DataNode objects in a directed acyclic graph.
Manages lookup of ImageStatisticsContainer nodes in a DataStorage.
static mitk::NodePredicateBase::ConstPointer GetStatisticsPredicateForSources(const mitk::BaseData *image, const mitk::BaseData *mask=nullptr)
Create a predicate to search for statistics containers of the given sources.
static mitk::DataNode::Pointer GetImageStatisticsNode(const mitk::DataStorage *dataStorage, const mitk::BaseData *image, const mitk::BaseData *mask=nullptr, bool ignoreZeroVoxel=false, unsigned int histogramNBins=100, bool onlyIfUpToDate=true, bool noWIP=true)
Find and return the DataNode containing the ImageStatisticsContainer.
static mitk::ImageStatisticsContainer::Pointer GetImageStatistics(const mitk::DataStorage *dataStorage, const mitk::BaseData *image, const mitk::BaseData *mask=nullptr, bool ignoreZeroVoxel=false, unsigned int histogramNBins=100, bool onlyIfUpToDate=true, bool noWIP=true)
Find and return the ImageStatisticsContainer for the given image and mask.
Find image slices visible on a given plane.
static const std::string STATS_GENERATION_STATUS_VALUE_WORK_IN_PROGRESS
Status value indicating statistics computation is in progress.
static const std::string STATS_HISTOGRAM_BIN_PROPERTY_NAME
Property name for the histogram bin count stored on statistics nodes.
static const std::string STATS_GENERATION_STATUS_PROPERTY_NAME
Property name for the generation status of the statistics.
static const std::string STATS_IGNORE_ZERO_VOXEL_PROPERTY_NAME
Property name indicating whether zero voxels were ignored.
static const std::string STATS_GENERATION_STATUS_VALUE_PENDING
Status value indicating statistics computation is pending.
static const std::string STATS_GENERATION_STATUS_VALUE_BASE_DATA_FAILED
Status value indicating statistics computation failed.