JeVois  1.21
JeVois Smart Embedded Machine Vision Toolkit
Share this page:
Loading...
Searching...
No Matches
Coordinates.H File Reference
Include dependency graph for Coordinates.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  jevois
 Main namespace for all JeVois classes and functions.
 
namespace  jevois::coords
 Namespace for helper functions to convert coordinates from camera resolution to standardized.
 

Macros

#define JEVOIS_CAMERA_ASPECT   (16.0 / 9.0)
 Aspect ratio of the JeVois camera.
 

Functions

void jevois::coords::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 jevois::coords::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 jevois::coords::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 jevois::coords::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 jevois::coords::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 jevois::coords::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 jevois::coords::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 jevois::coords::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.