_tobinary< T > Struct Template Reference

Wrapper for element-wise bilevel-filtering. More...

#include <tools.hh>

Inheritance diagram for _tobinary< T >:

Inheritance graph
[legend]
Collaboration diagram for _tobinary< T >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

bool operator() (const T &x) const
 Map to binary.

Detailed Description

template<typename T>
struct _tobinary< T >

Wrapper for element-wise bilevel-filtering.


Member Function Documentation

template<typename T>
bool _tobinary< T >::operator() const T &  x  )  const [inline]
 

Map to binary.

Parameters:
x Integer number.
Returns:
Returns true if and only if x is greater than zero.


The documentation for this struct was generated from the following file:
doxygen-1.4.5 documentation for micron-vision - Tue Jan 17 15:29:15 2006