Hugin trunk 0.1
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
vigra::detail::threshold_alpha_transform Class Reference

#include <impexalpha.hxx>

Public Member Functions

 threshold_alpha_transform (const range_t &source, const range_t &destination)
 
template<typename T >
double operator() (T x) const
 

Private Attributes

const double threshold_
 
const double zero_
 
const double max_
 

Detailed Description

Definition at line 208 of file impexalpha.hxx.

Constructor & Destructor Documentation

◆ threshold_alpha_transform()

vigra::detail::threshold_alpha_transform::threshold_alpha_transform ( const range_t source,
const range_t destination 
)
inline

Definition at line 211 of file impexalpha.hxx.

Member Function Documentation

◆ operator()()

template<typename T >
double vigra::detail::threshold_alpha_transform::operator() ( x) const
inline

Definition at line 219 of file impexalpha.hxx.

References max_, threshold_, and zero_.

Member Data Documentation

◆ max_

const double vigra::detail::threshold_alpha_transform::max_
private

Definition at line 234 of file impexalpha.hxx.

Referenced by operator()().

◆ threshold_

const double vigra::detail::threshold_alpha_transform::threshold_
private

Definition at line 232 of file impexalpha.hxx.

Referenced by operator()().

◆ zero_

const double vigra::detail::threshold_alpha_transform::zero_
private

Definition at line 233 of file impexalpha.hxx.

Referenced by operator()().


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