JeVois  1.3
JeVois Smart Embedded Machine Vision Toolkit
Share this page:
RawImageOps.H File Reference
#include <jevois/Image/RawImage.H>
#include <opencv2/core/core.hpp>
Include dependency graph for RawImageOps.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 jevois
 
 jevois::rawimage
 

Enumerations

enum  jevois::rawimage::Font {
  jevois::rawimage::Font5x7, jevois::rawimage::Font6x10, jevois::rawimage::Font7x13, jevois::rawimage::Font8x13bold,
  jevois::rawimage::Font9x15bold, jevois::rawimage::Font10x20, jevois::rawimage::Font11x22, jevois::rawimage::Font12x22,
  jevois::rawimage::Font14x26, jevois::rawimage::Font15x28, jevois::rawimage::Font16x29, jevois::rawimage::Font20x38
}
 Available fonts for writeText() More...
 

Functions

cv::Mat jevois::rawimage::cvImage (RawImage const &src)
 Create an OpenCV image from the existing RawImage data, sharing the pixel memory rather than copying it. More...
 
cv::Mat jevois::rawimage::convertToCvGray (RawImage const &src)
 Convert RawImage to OpenCV doing color conversion from any RawImage source pixel to OpenCV gray byte. More...
 
cv::Mat jevois::rawimage::convertToCvBGR (RawImage const &src)
 Convert RawImage to OpenCV doing color conversion from any RawImage source pixel to OpenCV BGR byte. More...
 
cv::Mat jevois::rawimage::convertToCvRGB (RawImage const &src)
 Convert RawImage to OpenCV doing color conversion from any RawImage source pixel to OpenCV RGB byte. More...
 
cv::Mat jevois::rawimage::convertToCvRGBA (RawImage const &src)
 Convert RawImage to OpenCV doing color conversion from any RawImage source pixel to OpenCV RGB-A byte. More...
 
void jevois::rawimage::byteSwap (RawImage &img)
 Swap pairs of bytes in a RawImage. More...
 
void jevois::rawimage::paste (RawImage const &src, RawImage &dest, int dx, int dy)
 Paste an image within another of same pixel type. More...
 
void jevois::rawimage::pasteGreyToYUYV (cv::Mat const &src, RawImage &dest, int dx, int dy)
 Paste a grey byte image into a YUYV image. More...
 
void jevois::rawimage::pasteBGRtoYUYV (cv::Mat const &src, RawImage &dst, int dx, int dy)
 Paste a BGR byte image into a YUYV image. More...
 
void jevois::rawimage::roipaste (RawImage const &src, int x, int y, unsigned int w, unsigned int h, RawImage &dest, int dx, int dy)
 Paste an ROI from an image to within another of same pixel type. More...
 
void jevois::rawimage::drawDisk (RawImage &img, int x, int y, unsigned int rad, unsigned int col)
 Draw a disk in a YUYV image. More...
 
void jevois::rawimage::drawCircle (RawImage &img, int x, int y, unsigned int rad, unsigned int thick, unsigned int col)
 Draw a circle in a YUYV image. More...
 
void jevois::rawimage::drawLine (RawImage &img, int x1, int y1, int x2, int y2, unsigned int thick, unsigned int col)
 Draw a line in a YUYV image. More...
 
void jevois::rawimage::drawRect (RawImage &img, int x, int y, unsigned int w, unsigned int h, unsigned int thick, unsigned int col)
 Draw a rectangle in a YUYV image. More...
 
void jevois::rawimage::drawRect (RawImage &img, int x, int y, unsigned int w, unsigned int h, unsigned int col)
 Draw a rectangle in a YUYV image. More...
 
void jevois::rawimage::drawFilledRect (RawImage &img, int x, int y, unsigned int w, unsigned int h, unsigned int col)
 Draw a filled rectangle in a YUYV image. More...
 
void jevois::rawimage::writeText (RawImage &img, std::string const &txt, int x, int y, unsigned int col, Font font=Font6x10)
 Write some text in an image. More...
 
void jevois::rawimage::writeText (RawImage &img, char const *txt, int x, int y, unsigned int col, Font font=Font6x10)
 Write some text in an image. More...
 
void jevois::rawimage::convertCvBGRtoRawImage (cv::Mat const &src, RawImage &dst, int quality)
 Convert a BGR cv::Mat to RawImage with already-allocated pixels and pixel type. More...
 
void jevois::rawimage::convertCvRGBtoRawImage (cv::Mat const &src, RawImage &dst, int quality)
 Convert a RGB cv::Mat to RawImage with already-allocated pixels and pixel type. More...
 
void jevois::rawimage::convertCvRGBAtoRawImage (cv::Mat const &src, RawImage &dst, int quality)
 Convert an RGBA cv::Mat to RawImage with already-allocated pixels and pixel type. More...
 
void jevois::rawimage::convertCvGRAYtoRawImage (cv::Mat const &src, RawImage &dst, int quality)
 Convert a Gray cv::Mat to RawImage with already-allocated pixels and pixel type. More...
 
void jevois::rawimage::unpackCvRGBAtoGrayRawImage (cv::Mat const &src, RawImage &dst)
 Split an RGBA cv::Mat into a 4x taller grey RawImage with already-allocated pixels. More...
 
void jevois::rawimage::hFlipYUYV (RawImage &img)
 Flip a YUYV RawImage horizontally while preserving color information. More...