Image operation: histogram equalization with optional number of bins. More...
#include <cmtkImageOperationHistogramEqualization.h>
Public Member Functions | |
ImageOperationHistogramEqualization (const size_t nBins) | |
Constructor. | |
virtual cmtk::UniformVolume::SmartPtr | Apply (cmtk::UniformVolume::SmartPtr &volume) |
Apply this operation to an image in place. | |
Static Public Member Functions | |
static void | New () |
Create a histogram equalization operation with default number of bins. | |
static void | NewBins (const long int nBins) |
Create a histogram equalization operation with user-supplied number of bins. | |
Static Public Attributes | |
static const size_t | DefaultNumberOfBins = 1024 |
Default number of bins for histogram equalization. | |
Private Attributes | |
size_t | m_NumberOfBins |
Number of histogram bins. |
Image operation: histogram equalization with optional number of bins.
Inherit from image operation base class.
Definition at line 43 of file cmtkImageOperationHistogramEqualization.h.
cmtk::ImageOperationHistogramEqualization::ImageOperationHistogramEqualization | ( | const size_t | nBins ) | [inline] |
Constructor.
Definition at line 52 of file cmtkImageOperationHistogramEqualization.h.
Referenced by New().
cmtk::UniformVolume::SmartPtr cmtk::ImageOperationHistogramEqualization::Apply | ( | cmtk::UniformVolume::SmartPtr & | volume ) | [virtual] |
Apply this operation to an image in place.
Reimplemented from cmtk::ImageOperation.
Definition at line 49 of file cmtkImageOperationHistogramEqualization.cxx.
void cmtk::ImageOperationHistogramEqualization::New | ( | ) | [static] |
Create a histogram equalization operation with default number of bins.
Definition at line 37 of file cmtkImageOperationHistogramEqualization.cxx.
References DefaultNumberOfBins, ImageOperationHistogramEqualization(), and cmtk::ImageOperation::m_ImageOperationList.
void cmtk::ImageOperationHistogramEqualization::NewBins | ( | const long int | nBins ) | [static] |
Create a histogram equalization operation with user-supplied number of bins.
Definition at line 43 of file cmtkImageOperationHistogramEqualization.cxx.
References cmtk::ImageOperation::m_ImageOperationList.
const size_t cmtk::ImageOperationHistogramEqualization::DefaultNumberOfBins = 1024 [static] |
Default number of bins for histogram equalization.
Definition at line 49 of file cmtkImageOperationHistogramEqualization.h.
Referenced by New().
size_t cmtk::ImageOperationHistogramEqualization::m_NumberOfBins [private] |
Number of histogram bins.
Definition at line 65 of file cmtkImageOperationHistogramEqualization.h.