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

This functor adds two pixels. More...

#include <OP_Add.hpp>

Collaboration diagram for visioncpp::OP_Add:

Public Member Functions

template<typename T1 , typename T2 >
auto operator() (T1 t1, T2 t2) -> decltype(t1+t2)
 This functor adds two pixels. More...
 

Detailed Description

This functor adds two pixels.

Definition at line 25 of file OP_Add.hpp.

Member Function Documentation

◆ operator()()

template<typename T1 , typename T2 >
auto visioncpp::OP_Add::operator() ( T1  t1,
T2  t2 
) -> decltype(t1 + t2)
inline

This functor adds two pixels.

Parameters
t1- First image
t2- Second image
Returns
float - Return the sum

Definition at line 31 of file OP_Add.hpp.


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