Skip to content

Class vl::IntParameters#

template <typename ParType>

ClassList > vl > IntParameters

Classes#

Type Name
struct ParValue

Public Functions#

Type Name
IntParameters ()
bool add (ParType param, int id, int val, int min, int max)
std::vector< int > as_vector () const
Generates a opencv compatible parameter vector Alternating entries: parameter_id1, value1, parameter_id2, value2, .... See also cv.imencode documentation.
int get (ParType param) const
bool set (ParType param, int val)

Public Functions Documentation#

function IntParameters#

inline vl::IntParameters::IntParameters () 

function add#

bool vl::IntParameters::add (
    ParType param,
    int id,
    int val,
    int min,
    int max
) 

function as_vector#

Generates a opencv compatible parameter vector Alternating entries: parameter_id1, value1, parameter_id2, value2, .... See also cv.imencode documentation.

std::vector< int > vl::IntParameters::as_vector () const

Returns:

std::vector<int> result vector


function get#

int vl::IntParameters::get (
    ParType param
) const

function set#

bool vl::IntParameters::set (
    ParType param,
    int val
) 


The documentation for this class was generated from the following file docs/libvl/build/1.2.5/doxygen/source/vl/image.h