YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
yarp::sig::draw Namespace Reference

Functions

template<class T >
void addSegment (ImageOf< T > &dest, const T &pix, int x, int y, int dx, int dy)
 
template<class T >
void addCircle (ImageOf< T > &dest, const T &pix, int i, int j, int r)
 
template<class T >
void addCrossHair (ImageOf< T > &dest, const T &pix, int i, int j, int r)
 
template<class T >
void addCircleOutline (ImageOf< T > &dest, const T &pix, int i, int j, int r)
 
template<class T >
void addOvalOutline (ImageOf< T > &dest, const T &pix, int i, int j, int h2, int w2)
 
template<class T >
void addRectangleOutline (ImageOf< T > &dest, const T &pix, int i, int j, int w, int h)
 
template<class T >
void addRectangle (ImageOf< T > &dest, const T &pix, int i, int j, int w, int h)
 warning : i, j is x, y center of rectangle
 
template<class T >
int applyThreshold (ImageOf< T > &src, ImageOf< T > &dest, const T &thetalo, const T &thetahi, const T &pix0, const T &pix1)
 
template<class T >
void setImagePixels (ImageOf< T > &src, const T &pix)
 

Function Documentation

◆ addCircle()

template<class T >
void yarp::sig::draw::addCircle ( ImageOf< T > &  dest,
const T &  pix,
int  i,
int  j,
int  r 
)
Examples
opencv/main.cpp.

Definition at line 32 of file ImageDraw.h.

◆ addCircleOutline()

template<class T >
void yarp::sig::draw::addCircleOutline ( ImageOf< T > &  dest,
const T &  pix,
int  i,
int  j,
int  r 
)

Definition at line 58 of file ImageDraw.h.

◆ addCrossHair()

template<class T >
void yarp::sig::draw::addCrossHair ( ImageOf< T > &  dest,
const T &  pix,
int  i,
int  j,
int  r 
)

Definition at line 46 of file ImageDraw.h.

◆ addOvalOutline()

template<class T >
void yarp::sig::draw::addOvalOutline ( ImageOf< T > &  dest,
const T &  pix,
int  i,
int  j,
int  h2,
int  w2 
)

Definition at line 72 of file ImageDraw.h.

◆ addRectangle()

template<class T >
void yarp::sig::draw::addRectangle ( ImageOf< T > &  dest,
const T &  pix,
int  i,
int  j,
int  w,
int  h 
)

warning : i, j is x, y center of rectangle

Definition at line 104 of file ImageDraw.h.

◆ addRectangleOutline()

template<class T >
void yarp::sig::draw::addRectangleOutline ( ImageOf< T > &  dest,
const T &  pix,
int  i,
int  j,
int  w,
int  h 
)

Definition at line 84 of file ImageDraw.h.

◆ addSegment()

template<class T >
void yarp::sig::draw::addSegment ( ImageOf< T > &  dest,
const T &  pix,
int  x,
int  y,
int  dx,
int  dy 
)

Definition at line 18 of file ImageDraw.h.

◆ applyThreshold()

template<class T >
int yarp::sig::draw::applyThreshold ( ImageOf< T > &  src,
ImageOf< T > &  dest,
const T &  thetalo,
const T &  thetahi,
const T &  pix0,
const T &  pix1 
)

Definition at line 114 of file ImageDraw.h.

◆ setImagePixels()

template<class T >
void yarp::sig::draw::setImagePixels ( ImageOf< T > &  src,
const T &  pix 
)

Definition at line 132 of file ImageDraw.h.