Provides an easy way to calculate an itk::Histogram for a mitk::Image.
More...
#include <mitkHistogramGenerator.h>
Provides an easy way to calculate an itk::Histogram for a mitk::Image.
- See also
- mitk::Image
Definition at line 28 of file mitkHistogramGenerator.h.
◆ HistogramType
◆ HistogramGenerator()
| mitk::HistogramGenerator::HistogramGenerator |
( |
| ) |
|
|
protected |
◆ ~HistogramGenerator()
| mitk::HistogramGenerator::~HistogramGenerator |
( |
| ) |
|
|
overrideprotected |
◆ CalculateMaximumFrequency()
| static float mitk::HistogramGenerator::CalculateMaximumFrequency |
( |
const HistogramType * |
histogram | ) |
|
|
static |
Calculate the maximum frequency in a given histogram.
- Parameters
-
| histogram | The histogram to analyze. |
- Returns
- The maximum frequency value.
◆ Clone()
| Pointer mitk::HistogramGenerator::Clone |
( |
| ) |
const |
◆ ComputeHistogram()
| void mitk::HistogramGenerator::ComputeHistogram |
( |
| ) |
|
Compute the histogram from the input image.
The histogram is recomputed only if the image has been modified since the last computation.
◆ GetHistogram()
| virtual const HistogramType* mitk::HistogramGenerator::GetHistogram |
( |
| ) |
|
|
virtual |
Get the computed histogram.
◆ GetMaximumFrequency()
| float mitk::HistogramGenerator::GetMaximumFrequency |
( |
| ) |
const |
Get the maximum frequency in the computed histogram.
- Returns
- The maximum frequency value.
◆ GetSize()
| virtual int mitk::HistogramGenerator::GetSize |
( |
| ) |
const |
|
virtual |
Get the number of histogram bins.
◆ mitkClassMacroItkParent()
◆ New()
| static Pointer mitk::HistogramGenerator::New |
( |
| ) |
|
|
static |
◆ SetImage()
| virtual void mitk::HistogramGenerator::SetImage |
( |
mitk::Image::ConstPointer |
_arg | ) |
|
|
virtual |
Set the input image for histogram computation.
◆ SetSize()
| virtual void mitk::HistogramGenerator::SetSize |
( |
int |
_arg | ) |
|
|
virtual |
Set the number of histogram bins.
◆ m_Histogram
| HistogramType::ConstPointer mitk::HistogramGenerator::m_Histogram |
|
protected |
◆ m_Image
| mitk::Image::ConstPointer mitk::HistogramGenerator::m_Image |
|
protected |
◆ m_Size
| int mitk::HistogramGenerator::m_Size |
|
protected |
The documentation for this class was generated from the following file: