SpatiumLib
Public Member Functions | List of all members
spatium::imgproc::GlobalThreshold< T > Class Template Reference

#include <GlobalThreshold.h>

Inheritance diagram for spatium::imgproc::GlobalThreshold< T >:
Inheritance graph
[legend]
Collaboration diagram for spatium::imgproc::GlobalThreshold< T >:
Collaboration graph
[legend]

Public Member Functions

 GlobalThreshold (T thesholdValue=0)
 
 GlobalThreshold (const GlobalThreshold &rhs)=default
 
GlobalThresholdoperator= (const GlobalThreshold &rhs)=default
 
virtual ~GlobalThreshold ()=default
 
thresholdValue () const
 Get threshold value. More...
 
void setThresholdValue (T value)
 Set threshold value. More...
 
template<int N>
bool apply (const Image< T, N > &input, Image< T, 1 > &output)
 
bool apply (Image< T, 1 > &inoutput)
 
- Public Member Functions inherited from spatium::imgproc::IImageFilter
virtual ~IImageFilter ()=default
 

Constructor & Destructor Documentation

◆ GlobalThreshold() [1/2]

template<typename T >
spatium::imgproc::GlobalThreshold< T >::GlobalThreshold ( thesholdValue = 0)
inline

◆ GlobalThreshold() [2/2]

template<typename T >
spatium::imgproc::GlobalThreshold< T >::GlobalThreshold ( const GlobalThreshold< T > &  rhs)
default

◆ ~GlobalThreshold()

template<typename T >
virtual spatium::imgproc::GlobalThreshold< T >::~GlobalThreshold ( )
virtualdefault

Member Function Documentation

◆ apply() [1/2]

template<typename T >
template<int N>
bool spatium::imgproc::GlobalThreshold< T >::apply ( const Image< T, N > &  input,
Image< T, 1 > &  output 
)
inline

◆ apply() [2/2]

template<typename T >
bool spatium::imgproc::GlobalThreshold< T >::apply ( Image< T, 1 > &  inoutput)
inline

◆ operator=()

template<typename T >
GlobalThreshold& spatium::imgproc::GlobalThreshold< T >::operator= ( const GlobalThreshold< T > &  rhs)
default

◆ setThresholdValue()

template<typename T >
void spatium::imgproc::GlobalThreshold< T >::setThresholdValue ( value)
inline

Set threshold value.

Parameters
[in]valueThreshold value

◆ thresholdValue()

template<typename T >
T spatium::imgproc::GlobalThreshold< T >::thresholdValue ( ) const
inline

Get threshold value.

Returns
Threshold value

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