Very basic drawing functions, in case you don't have anything better available. More...
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 More... | |
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) |
Very basic drawing functions, in case you don't have anything better available.
void yarp::sig::draw::addCircle | ( | ImageOf< T > & | dest, |
const T & | pix, | ||
int | i, | ||
int | j, | ||
int | r | ||
) |
Definition at line 43 of file ImageDraw.h.
void yarp::sig::draw::addCircleOutline | ( | ImageOf< T > & | dest, |
const T & | pix, | ||
int | i, | ||
int | j, | ||
int | r | ||
) |
Definition at line 69 of file ImageDraw.h.
void yarp::sig::draw::addCrossHair | ( | ImageOf< T > & | dest, |
const T & | pix, | ||
int | i, | ||
int | j, | ||
int | r | ||
) |
Definition at line 57 of file ImageDraw.h.
void yarp::sig::draw::addOvalOutline | ( | ImageOf< T > & | dest, |
const T & | pix, | ||
int | i, | ||
int | j, | ||
int | h2, | ||
int | w2 | ||
) |
Definition at line 83 of file ImageDraw.h.
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 115 of file ImageDraw.h.
void yarp::sig::draw::addRectangleOutline | ( | ImageOf< T > & | dest, |
const T & | pix, | ||
int | i, | ||
int | j, | ||
int | w, | ||
int | h | ||
) |
Definition at line 95 of file ImageDraw.h.
void yarp::sig::draw::addSegment | ( | ImageOf< T > & | dest, |
const T & | pix, | ||
int | x, | ||
int | y, | ||
int | dx, | ||
int | dy | ||
) |
Definition at line 29 of file ImageDraw.h.
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 125 of file ImageDraw.h.
void yarp::sig::draw::setImagePixels | ( | ImageOf< T > & | src, |
const T & | pix | ||
) |
Definition at line 143 of file ImageDraw.h.