MDSTk Libraries  1.1.0
Medical Data Segmentation Toolkit
Static Public Member Functions
mds::lbp::CIsGreater< R, Shift > Struct Template Reference

Compares one LBP sample with a center value. More...

#include <mdsOperators.h>

List of all members.

Static Public Member Functions

template<typename T >
static R compare (const T &Center, const T &Value)
 Compares one LBP sample with a given center.
static R compare (const mds::img::tPixel8 &Center, const mds::img::tPixel8 &Value)
 Specialization of the method.
static R compare (const mds::img::tDensityPixel &Center, const mds::img::tDensityPixel &Value)
 Specialization of the method.

Detailed Description

template<typename R, int Shift>
struct mds::lbp::CIsGreater< R, Shift >

Compares one LBP sample with a center value.


Member Function Documentation

template<typename R , int Shift>
template<typename T >
static R mds::lbp::CIsGreater< R, Shift >::compare ( const T &  Center,
const T &  Value 
) [static]

Compares one LBP sample with a given center.

  • Returns (1 << Shift) if sample value is greater then the center.
template<typename R , int Shift>
static R mds::lbp::CIsGreater< R, Shift >::compare ( const mds::img::tPixel8 Center,
const mds::img::tPixel8 Value 
) [static]

Specialization of the method.

template<typename R , int Shift>
static R mds::lbp::CIsGreater< R, Shift >::compare ( const mds::img::tDensityPixel Center,
const mds::img::tDensityPixel Value 
) [static]

Specialization of the method.


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