JeVois  1.21
JeVois Smart Embedded Machine Vision Toolkit
Share this page:
Loading...
Searching...
No Matches
jevois::coords Namespace Reference

Namespace for helper functions to convert coordinates from camera resolution to standardized.

See Helper functions to convert coordinates from camera resolution to standardized for more details.

Functions

void imgToStd (float &x, float &y, RawImage const &camimg, float const eps=0.1F)
 Transform coordinates in-place from camera to standardized, using a RawImage to establish image size.
 
void imgToStd (float &x, float &y, unsigned int const width, unsigned int const height, float const eps=0.1F)
 Transform coordinates in-place from camera to standardized, using given image width and height.
 
void imgToStdX (float &x, unsigned int const width, float const eps=0.1F)
 Transform X coordinate in-place from camera to standardized, using given image width and height.
 
void imgToStdY (float &y, unsigned int const height, float const eps=0.1F)
 Transform Y coordinate in-place from camera to standardized, using given image width and height.
 
void imgToStdSize (float &w, float &h, unsigned int const width, unsigned int const height, float const eps=0.1F)
 Transform size in-place from camera to standardized, using given image width and height.
 
void stdToImg (float &x, float &y, RawImage const &camimg, float const eps=0.1F)
 Transform coordinates in-place from standardized to image, using a RawImage to establish image size.
 
void stdToImg (float &x, float &y, unsigned int const width, unsigned int const height, float const eps=0.1F)
 Transform coordinates in-place from standardized to image, using a RawImage to establish image size.
 
void stdToImgSize (float &x, float &y, unsigned int const width, unsigned int const height, float const eps=0.1F)
 Transform size in-place from standardized to image, using a RawImage to establish image size.