ITK  5.4.0
Insight Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | Private Types | Private Attributes | List of all members
itk::Function::RankHistogram< TInputPixel > Class Template Reference

#include <itkRankHistogram.h>

Detailed Description

template<typename TInputPixel>
class itk::Function::RankHistogram< TInputPixel >

Definition at line 51 of file itkRankHistogram.h.

+ Collaboration diagram for itk::Function::RankHistogram< TInputPixel >:

Public Types

using Compare = std::less< TInputPixel >
 

Public Member Functions

void AddBoundary ()
 
void AddPixel (const TInputPixel &p)
 
TInputPixel GetValue (const TInputPixel &)
 
TInputPixel GetValueBruteForce ()
 
bool IsValid ()
 
RankHistogramoperator= (const RankHistogram &hist)
 
 RankHistogram ()
 
void RemoveBoundary ()
 
void RemovePixel (const TInputPixel &p)
 
void SetRank (float rank)
 
 ~RankHistogram ()=default
 

Static Public Member Functions

static bool UseVectorBasedAlgorithm ()
 

Protected Attributes

float m_Rank
 

Private Types

using MapType = typename std::map< TInputPixel, SizeValueType, Compare >
 

Private Attributes

SizeValueType m_Below
 
Compare m_Compare
 
SizeValueType m_Entries
 
bool m_Initialized
 
TInputPixel m_InitVal
 
MapType m_Map
 
MapType::iterator m_RankIt
 
TInputPixel m_RankValue
 

Member Typedef Documentation

◆ Compare

template<typename TInputPixel >
using itk::Function::RankHistogram< TInputPixel >::Compare = std::less<TInputPixel>

Definition at line 54 of file itkRankHistogram.h.

◆ MapType

template<typename TInputPixel >
using itk::Function::RankHistogram< TInputPixel >::MapType = typename std::map<TInputPixel, SizeValueType, Compare>
private

Definition at line 258 of file itkRankHistogram.h.

Constructor & Destructor Documentation

◆ RankHistogram()

template<typename TInputPixel >
itk::Function::RankHistogram< TInputPixel >::RankHistogram ( )
inline

◆ ~RankHistogram()

template<typename TInputPixel >
itk::Function::RankHistogram< TInputPixel >::~RankHistogram ( )
default

Member Function Documentation

◆ AddBoundary()

template<typename TInputPixel >
void itk::Function::RankHistogram< TInputPixel >::AddBoundary ( )
inline

Definition at line 241 of file itkRankHistogram.h.

◆ AddPixel()

template<typename TInputPixel >
void itk::Function::RankHistogram< TInputPixel >::AddPixel ( const TInputPixel &  p)
inline

◆ GetValue()

template<typename TInputPixel >
TInputPixel itk::Function::RankHistogram< TInputPixel >::GetValue ( const TInputPixel &  )
inline

◆ GetValueBruteForce()

template<typename TInputPixel >
TInputPixel itk::Function::RankHistogram< TInputPixel >::GetValueBruteForce ( )
inline

◆ IsValid()

template<typename TInputPixel >
bool itk::Function::RankHistogram< TInputPixel >::IsValid ( )
inline

◆ operator=()

template<typename TInputPixel >
RankHistogram& itk::Function::RankHistogram< TInputPixel >::operator= ( const RankHistogram< TInputPixel > &  hist)
inline

◆ RemoveBoundary()

template<typename TInputPixel >
void itk::Function::RankHistogram< TInputPixel >::RemoveBoundary ( )
inline

Definition at line 245 of file itkRankHistogram.h.

◆ RemovePixel()

template<typename TInputPixel >
void itk::Function::RankHistogram< TInputPixel >::RemovePixel ( const TInputPixel &  p)
inline

◆ SetRank()

template<typename TInputPixel >
void itk::Function::RankHistogram< TInputPixel >::SetRank ( float  rank)
inline

◆ UseVectorBasedAlgorithm()

template<typename TInputPixel >
static bool itk::Function::RankHistogram< TInputPixel >::UseVectorBasedAlgorithm ( )
inlinestatic

Definition at line 249 of file itkRankHistogram.h.

Member Data Documentation

◆ m_Below

template<typename TInputPixel >
SizeValueType itk::Function::RankHistogram< TInputPixel >::m_Below
private

◆ m_Compare

template<typename TInputPixel >
Compare itk::Function::RankHistogram< TInputPixel >::m_Compare
private

◆ m_Entries

template<typename TInputPixel >
SizeValueType itk::Function::RankHistogram< TInputPixel >::m_Entries
private

◆ m_Initialized

template<typename TInputPixel >
bool itk::Function::RankHistogram< TInputPixel >::m_Initialized
private

◆ m_InitVal

template<typename TInputPixel >
TInputPixel itk::Function::RankHistogram< TInputPixel >::m_InitVal
private

◆ m_Map

template<typename TInputPixel >
MapType itk::Function::RankHistogram< TInputPixel >::m_Map
private

◆ m_Rank

template<typename TInputPixel >
float itk::Function::RankHistogram< TInputPixel >::m_Rank
protected

◆ m_RankIt

template<typename TInputPixel >
MapType::iterator itk::Function::RankHistogram< TInputPixel >::m_RankIt
private

◆ m_RankValue

template<typename TInputPixel >
TInputPixel itk::Function::RankHistogram< TInputPixel >::m_RankValue
private

The documentation for this class was generated from the following file: