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

Scales the pixel value of an image by a factor. More...

#include <OP_Scale.hpp>

Collaboration diagram for visioncpp::OP_Scale:

Public Member Functions

template<typename T1 , typename T2 >
T1 operator() (T1 t1, T2 f)
 Scales each pixel of an image by a factor. More...
 

Detailed Description

Scales the pixel value of an image by a factor.

Definition at line 26 of file OP_Scale.hpp.

Member Function Documentation

◆ operator()()

template<typename T1 , typename T2 >
T1 visioncpp::OP_Scale::operator() ( T1  t1,
T2  f 
)
inline

Scales each pixel of an image by a factor.

Parameters
t1- Image of one channel
f- Scale factor
Returns
T1 - Returns the scaled image of time of the input image

Definition at line 32 of file OP_Scale.hpp.


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