Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <mitkSimpleHistogram.h>
Public Types | |
typedef itk::Statistics::Histogram< double > | HistogramType |
typedef itk::Image< short, 3 > | CTImage |
typedef itk::ImageRegionIterator< CTImage > | CTIteratorType |
typedef itk::ImageRegionIteratorWithIndex< CTImage > | CTIteratorIndexType |
typedef itk::Image< unsigned char, 3 > | BinImage |
typedef itk::ImageRegionIterator< BinImage > | BinIteratorType |
typedef itk::ImageRegionIteratorWithIndex< BinImage > | BinIteratorIndexType |
typedef unsigned long | CountType |
Public Member Functions | |
SimpleImageHistogram () | |
~SimpleImageHistogram () | |
bool | GetValid () |
double | GetMin () const override |
Returns the minimal value of the histogram. More... | |
double | GetMax () const override |
Returns the maximum value of the histogram. More... | |
void | ComputeFromBaseData (BaseData *source) override |
Creates a new histogram out the source which must be an image. Method does nothing if the image is invalid, NULL, etc.. More... | |
float | GetRelativeBin (double start, double end) const override |
TODO: (What should this method do?) More... | |
Protected Attributes | |
CountType * | histogram |
bool | valid |
int | first |
int | last |
int | min |
int | max |
CountType | highest |
double | invLogHighest |
Definition at line 51 of file mitkSimpleHistogram.h.
typedef itk::Image<unsigned char, 3> mitk::SimpleImageHistogram::BinImage |
Definition at line 75 of file mitkSimpleHistogram.h.
typedef itk::ImageRegionIteratorWithIndex<BinImage> mitk::SimpleImageHistogram::BinIteratorIndexType |
Definition at line 77 of file mitkSimpleHistogram.h.
typedef itk::ImageRegionIterator<BinImage> mitk::SimpleImageHistogram::BinIteratorType |
Definition at line 76 of file mitkSimpleHistogram.h.
typedef unsigned long mitk::SimpleImageHistogram::CountType |
Definition at line 79 of file mitkSimpleHistogram.h.
typedef itk::Image<short, 3> mitk::SimpleImageHistogram::CTImage |
Definition at line 71 of file mitkSimpleHistogram.h.
typedef itk::ImageRegionIteratorWithIndex<CTImage> mitk::SimpleImageHistogram::CTIteratorIndexType |
Definition at line 73 of file mitkSimpleHistogram.h.
typedef itk::ImageRegionIterator<CTImage> mitk::SimpleImageHistogram::CTIteratorType |
Definition at line 72 of file mitkSimpleHistogram.h.
typedef itk::Statistics::Histogram<double> mitk::SimpleImageHistogram::HistogramType |
Definition at line 54 of file mitkSimpleHistogram.h.
|
inline |
Definition at line 56 of file mitkSimpleHistogram.h.
|
inline |
Definition at line 62 of file mitkSimpleHistogram.h.
|
overridevirtual |
Creates a new histogram out the source which must be an image. Method does nothing if the image is invalid, NULL, etc..
Implements mitk::SimpleHistogram.
Definition at line 25 of file mitkSimpleHistogram.cpp.
References first, mitk::PixelType::GetComponentType(), mitk::ImageAccessorBase::GetData(), mitk::Image::GetDimension(), mitk::Image::GetPixelType(), highest, histogram, invLogHighest, mitk::BaseData::IsEmpty(), last, max, min, MITK_INFO, MITK_WARN, and valid.
|
inlineoverridevirtual |
Returns the maximum value of the histogram.
Implements mitk::SimpleHistogram.
Definition at line 102 of file mitkSimpleHistogram.h.
References max().
|
inlineoverridevirtual |
Returns the minimal value of the histogram.
Implements mitk::SimpleHistogram.
Definition at line 94 of file mitkSimpleHistogram.h.
References min().
|
overridevirtual |
TODO: (What should this method do?)
Implements mitk::SimpleHistogram.
Definition at line 198 of file mitkSimpleHistogram.cpp.
References first, histogram, invLogHighest, and valid.
bool mitk::SimpleImageHistogram::GetValid | ( | ) |
Definition at line 197 of file mitkSimpleHistogram.cpp.
References valid.
|
protected |
Definition at line 86 of file mitkSimpleHistogram.h.
Referenced by ComputeFromBaseData(), and GetRelativeBin().
|
protected |
Definition at line 90 of file mitkSimpleHistogram.h.
Referenced by ComputeFromBaseData().
|
protected |
Definition at line 82 of file mitkSimpleHistogram.h.
Referenced by ComputeFromBaseData(), and GetRelativeBin().
|
protected |
Definition at line 91 of file mitkSimpleHistogram.h.
Referenced by ComputeFromBaseData(), and GetRelativeBin().
|
protected |
Definition at line 87 of file mitkSimpleHistogram.h.
Referenced by ComputeFromBaseData().
|
protected |
Definition at line 89 of file mitkSimpleHistogram.h.
Referenced by ComputeFromBaseData().
|
protected |
Definition at line 88 of file mitkSimpleHistogram.h.
Referenced by ComputeFromBaseData().
|
protected |
Definition at line 84 of file mitkSimpleHistogram.h.
Referenced by ComputeFromBaseData(), GetRelativeBin(), and GetValid().