ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itk::Function::VectorRankHistogram< TInputPixel > Class Template Reference

#include <itkRankHistogram.h>

Detailed Description

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

Definition at line 274 of file itkRankHistogram.h.

+ Collaboration diagram for itk::Function::VectorRankHistogram< 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 ()
 
void RemoveBoundary ()
 
void RemovePixel (const TInputPixel &p)
 
void SetRank (float rank)
 
 VectorRankHistogram ()
 
 ~VectorRankHistogram ()=default
 

Static Public Member Functions

static bool UseVectorBasedAlgorithm ()
 

Protected Attributes

float m_Rank
 

Private Types

using VecType = typename std::vector<SizeValueType>
 

Private Attributes

int m_Below
 
Compare m_Compare
 
int m_Entries
 
TInputPixel m_InitVal
 
TInputPixel m_RankValue
 
SizeValueType m_Size
 
VecType m_Vec
 

Member Typedef Documentation

◆ Compare

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

Definition at line 277 of file itkRankHistogram.h.

◆ VecType

template<typename TInputPixel>
using itk::Function::VectorRankHistogram< TInputPixel >::VecType = typename std::vector<SizeValueType>
private

Definition at line 383 of file itkRankHistogram.h.

Constructor & Destructor Documentation

◆ VectorRankHistogram()

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

◆ ~VectorRankHistogram()

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

Member Function Documentation

◆ AddBoundary()

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

Definition at line 366 of file itkRankHistogram.h.

◆ AddPixel()

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

◆ GetValue()

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

Definition at line 322 of file itkRankHistogram.h.

References GetValueBruteForce().

◆ GetValueBruteForce()

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

◆ IsValid()

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

Definition at line 300 of file itkRankHistogram.h.

References m_Entries.

◆ RemoveBoundary()

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

Definition at line 370 of file itkRankHistogram.h.

◆ RemovePixel()

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

◆ SetRank()

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

Definition at line 360 of file itkRankHistogram.h.

References m_Rank.

◆ UseVectorBasedAlgorithm()

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

Definition at line 374 of file itkRankHistogram.h.

Member Data Documentation

◆ m_Below

template<typename TInputPixel>
int itk::Function::VectorRankHistogram< TInputPixel >::m_Below
private

Definition at line 390 of file itkRankHistogram.h.

Referenced by AddPixel(), RemovePixel(), and VectorRankHistogram().

◆ m_Compare

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

Definition at line 387 of file itkRankHistogram.h.

Referenced by AddPixel(), RemovePixel(), and VectorRankHistogram().

◆ m_Entries

template<typename TInputPixel>
int itk::Function::VectorRankHistogram< TInputPixel >::m_Entries
private

◆ m_InitVal

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

Definition at line 389 of file itkRankHistogram.h.

Referenced by VectorRankHistogram().

◆ m_Rank

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

Definition at line 380 of file itkRankHistogram.h.

Referenced by GetValueBruteForce(), SetRank(), and VectorRankHistogram().

◆ m_RankValue

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

Definition at line 388 of file itkRankHistogram.h.

Referenced by AddPixel(), RemovePixel(), and VectorRankHistogram().

◆ m_Size

template<typename TInputPixel>
SizeValueType itk::Function::VectorRankHistogram< TInputPixel >::m_Size
private

Definition at line 386 of file itkRankHistogram.h.

Referenced by GetValueBruteForce(), and VectorRankHistogram().

◆ m_Vec

template<typename TInputPixel>
VecType itk::Function::VectorRankHistogram< TInputPixel >::m_Vec
private

Definition at line 385 of file itkRankHistogram.h.

Referenced by AddPixel(), GetValueBruteForce(), RemovePixel(), and VectorRankHistogram().


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