Namespaces | Functions
image.cc File Reference
#include "image.h"
#include "exception.h"
#include "pixel_formats.h"
#include <cstring>
Include dependency graph for image.cc:

Go to the source code of this file.

Namespaces

 rcg
 

Functions

bool rcg::convertImage (uint8_t *rgb_out, uint8_t *mono_out, const uint8_t *raw, uint64_t pixelformat, size_t width, size_t height, size_t xpadding)
 Converts image to RGB and monochrome format. More...
 
void rcg::convYCbCr411toQuadRGB (uint8_t rgb[12], const uint8_t *row, int i)
 Conversion of a group of four pixels from YCbCr411 format (6 bytes for four pixels) to RGB. More...
 
void rcg::convYCbCr411toRGB (uint8_t rgb[3], const uint8_t *row, int i)
 Conversion of one pixel from YCbCr411 format (6 bytes for four pixels) to RGB. More...
 
void rcg::getColor (uint8_t rgb[3], const std::shared_ptr< const Image > &img, uint32_t ds, uint32_t i, uint32_t k)
 Expects an image in Mono8 or YCbCr411_8 format and returns the color as RGB value at the given pixel location. More...
 


rc_genicam_api
Author(s): Heiko Hirschmueller
autogenerated on Wed Mar 17 2021 02:48:41