|
Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
|
Abstract base class for simple histograms with double values. More...
#include <mitkSimpleHistogram.h>

Public Member Functions | |
| virtual double | GetMin () const =0 |
| Returns the minimum value of the histogram. More... | |
| virtual double | GetMax () const =0 |
| Returns the maximum value of the histogram. More... | |
| virtual void | ComputeFromBaseData (BaseData *source)=0 |
| Compute the histogram from the given BaseData source. More... | |
| virtual float | GetRelativeBin (double start, double end) const =0 |
| Get the relative frequency of bins in the range [start, end]. More... | |
Abstract base class for simple histograms with double values.
Provides the interface for computing histograms from BaseData objects and querying minimum/maximum values and relative bin frequencies. Derived classes can be cached using SimpleHistogramCache.
Definition at line 40 of file mitkSimpleHistogram.h.
|
pure virtual |
Compute the histogram from the given BaseData source.
| [in] | source | The BaseData object to compute the histogram from. |
Implemented in mitk::SimpleImageHistogram.
|
pure virtual |
Returns the maximum value of the histogram.
Implemented in mitk::SimpleImageHistogram.
Referenced by QmitkTransferFunctionCanvas::ValidateCoord().
|
pure virtual |
Returns the minimum value of the histogram.
Implemented in mitk::SimpleImageHistogram.
Referenced by QmitkTransferFunctionCanvas::ValidateCoord().
|
pure virtual |
Get the relative frequency of bins in the range [start, end].
| [in] | start | The start of the bin range. |
| [in] | end | The end of the bin range. |
Implemented in mitk::SimpleImageHistogram.