Medical Imaging Interaction Toolkit
2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
|
Returns the StatisticsContainer that was computed on given input (image/mask/planar figure) and is added as DataNode in a DataStorage. More...
#include <mitkImageStatisticsContainerManager.h>
Static Public Member Functions | |
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) |
Returns the StatisticsContainer for the given image and mask from the storage-. More... | |
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) |
static mitk::NodePredicateBase::ConstPointer | GetStatisticsPredicateForSources (const mitk::BaseData *image, const mitk::BaseData *mask=nullptr) |
Returns the StatisticsContainer that was computed on given input (image/mask/planar figure) and is added as DataNode in a DataStorage.
Definition at line 37 of file mitkImageStatisticsContainerManager.h.
|
static |
Returns the StatisticsContainer for the given image and mask from the storage-.
Documentation
if more than one StatisticsContainer is found, only the newest (ModifiedTime) is returned
dataStorage | |
image | |
mask | |
onlyIfUpToDate | Indicates if results should only be returned if the are up to date, thus not older then image and ROI. |
noWIP | If noWIP is true, the function only returns valid final result and not just its placeholder (WIP). If noWIP equals false it might also return a WIP, thus the valid result is currently processed/ordered but might not be ready yet. |
ignoreZeroVoxel | indicates the wanted statistics are calculated with or w/o zero voxels. |
histogramNBins | Number of bins the statistics should have that are searched for. |
|
static |
|
static |
Returns the predicate that can be used to search for statistic containers of the given image (and mask) in the passed data storage.