VisionCpp  0.0.1
Public Member Functions | List of all members
visioncpp::OP_Thresh Struct Reference

Implements a binary threshold. More...

#include <OP_Thresh.hpp>

Collaboration diagram for visioncpp::OP_Thresh:

Public Member Functions

template<typename T1 , typename T2 >
visioncpp::pixel::U8C1 operator() (T1 t1, T2 thresh)
 This functor implements a binary threshold. More...
 

Detailed Description

Implements a binary threshold.

Definition at line 26 of file OP_Thresh.hpp.

Member Function Documentation

◆ operator()()

template<typename T1 , typename T2 >
visioncpp::pixel::U8C1 visioncpp::OP_Thresh::operator() ( T1  t1,
T2  thresh 
)
inline

This functor implements a binary threshold.

Parameters
t1- Image
thresh- float threshold value
Returns
U8C1 - Returns a binary image (1 if greater than threshold, 0 otherwise)

Definition at line 33 of file OP_Thresh.hpp.


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