Apollo
6.0
Open source self driving car software
|
A wrapper around Blob holders serving as the basic computational unit for images. More...
#include <image_8u.h>
Public Member Functions | |
Image8U () | |
Image8U (int rows, int cols, Color type, std::shared_ptr< Blob< uint8_t >> blob, int offset=0) | |
Image8U (int rows, int cols, Color type) | |
Image8U (const Image8U &src) | |
Image8U & | operator= (const Image8U &src) |
~Image8U () | |
uint8_t * | mutable_cpu_data () |
uint8_t * | mutable_gpu_data () |
const uint8_t * | cpu_data () const |
const uint8_t * | gpu_data () const |
const uint8_t * | cpu_ptr (int row=0) const |
const uint8_t * | gpu_ptr (int row=0) const |
uint8_t * | mutable_cpu_ptr (int row=0) |
uint8_t * | mutable_gpu_ptr (int row=0) |
Color | type () const |
int | rows () const |
int | cols () const |
int | channels () const |
int | width_step () const |
int | total () const |
Image8U | operator() (const Rect< int > &roi) |
std::shared_ptr< Blob< uint8_t > > | blob () |
std::shared_ptr< const Blob< uint8_t > > | blob () const |
Protected Attributes | |
int | rows_ |
int | cols_ |
Color | type_ |
int | channels_ |
int | width_step_ |
std::shared_ptr< Blob< uint8_t > > | blob_ |
int | offset_ |
A wrapper around Blob holders serving as the basic computational unit for images.
TODO(dox): more thorough description.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |