14 #ifndef mitkIntensityQuantifier_h
15 #define mitkIntensityQuantifier_h
42 itkFactorylessNewMacro(Self);
227 itkGetConstMacro(Initialized,
bool);
229 itkGetConstMacro(Bins,
unsigned int);
231 itkGetConstMacro(Binsize,
double);
233 itkGetConstMacro(Minimum,
double);
235 itkGetConstMacro(Maximum,
double);
249 if(IsInitialized() ==
false)
252 if(timeGeometry ==
nullptr)
#define MITKCLCORE_EXPORT
Base class of all data objects.
Image class for storing multi-dimensional medical image data.
Maps continuous image intensity values to discrete histogram bin indices.
void InitializeByImageRegionAndBinsize(const Image *image, const Image *mask, double binsize)
Initialize from masked image region using a specified bin size.
void InitializeByImageRegion(const Image *image, const Image *mask, unsigned int bins)
Initialize from the intensity range of masked voxels in an image.
double IndexToMaximumIntensity(unsigned int index)
Get the upper bound intensity of a histogram bin.
void InitializeByImageRegionAndMinimum(const Image *image, const Image *mask, double minimum, unsigned int bins)
Initialize from masked image region with a specified minimum; maximum is computed.
void InitializeByImageRegionAndMaximum(const Image *image, const Image *mask, double maximum, unsigned int bins)
Initialize from masked image region with a specified maximum; minimum is computed.
void InitializeByImageAndMinimum(const Image *image, double minimum, unsigned int bins)
Initialize from an image with a specified minimum; maximum is computed from the image.
unsigned int IntensityToIndex(double intensity)
Map a continuous intensity value to a histogram bin index.
bool RequestedRegionIsOutsideOfTheBufferedRegion() override
Determine whether the RequestedRegion is outside of the BufferedRegion.
void InitializeByImageAndBinsizeAndMinimum(const Image *image, double minimum, double binsize)
Initialize from an image with specified minimum and bin size; maximum is computed.
void InitializeByMinimumMaximum(double minimum, double maximum, unsigned int bins)
Initialize with explicit minimum, maximum, and number of bins.
mitkClassMacro(IntensityQuantifier, BaseData)
void InitializeByImageRegionAndBinsizeAndMinimum(const Image *image, const Image *mask, double minimum, double binsize)
Initialize from masked image region with specified minimum and bin size; maximum is computed.
void InitializeByImageAndMaximum(const Image *image, double maximum, unsigned int bins)
Initialize from an image with a specified maximum; minimum is computed from the image.
double IndexToMeanIntensity(unsigned int index)
Get the center intensity of a histogram bin.
double IndexToMinimumIntensity(unsigned int index)
Get the lower bound intensity of a histogram bin.
bool VerifyRequestedRegion() override
Verify that the RequestedRegion is within the LargestPossibleRegion.
void InitializeByBinsizeAndMaximum(double minimum, double maximum, double binsize)
Initialize with explicit minimum, maximum, and bin size.
void InitializeByImage(const Image *image, unsigned int bins)
Initialize from the full intensity range of an image.
void InitializeByImageAndBinsizeAndMaximum(const Image *image, double maximum, double binsize)
Initialize from an image with specified maximum and bin size; minimum is computed.
void InitializeByBinsizeAndBins(double minimum, unsigned int bins, double binsize)
Initialize with explicit minimum, number of bins, and bin size.
void SetRequestedRegion(const itk::DataObject *) override
Set the requested region from this data object to match the requested region of the data object passe...
void InitializeByImageRegionAndBinsizeAndMaximum(const Image *image, const Image *mask, double maximum, double binsize)
Initialize from masked image region with specified maximum and bin size; minimum is computed.
void SetRequestedRegionToLargestPossibleRegion() override
Set the RequestedRegion to the LargestPossibleRegion.
bool IsEmpty() const override
Check whether the object contains data at any time step.
void InitializeByImageAndBinsize(const Image *image, double binsize)
Initialize from the full image intensity range using a specified bin size.
Find image slices visible on a given plane.