YARP
Yet Another Robot Platform
yarp::sig::PixelBgr Struct Reference

Packed RGB pixel type, with pixels stored in reverse order. More...

#include <yarp/sig/Image.h>

Public Member Functions

 PixelBgr ()=default
 
 PixelBgr (unsigned char n_r, unsigned char n_g, unsigned char n_b)
 

Public Attributes

unsigned char b {0}
 
unsigned char g {0}
 
unsigned char r {0}
 

Detailed Description

Packed RGB pixel type, with pixels stored in reverse order.

Definition at line 535 of file Image.h.

Constructor & Destructor Documentation

◆ PixelBgr() [1/2]

yarp::sig::PixelBgr::PixelBgr ( )
default

◆ PixelBgr() [2/2]

yarp::sig::PixelBgr::PixelBgr ( unsigned char  n_r,
unsigned char  n_g,
unsigned char  n_b 
)
inline

Definition at line 542 of file Image.h.

Member Data Documentation

◆ b

unsigned char yarp::sig::PixelBgr::b {0}

Definition at line 537 of file Image.h.

◆ g

unsigned char yarp::sig::PixelBgr::g {0}

Definition at line 538 of file Image.h.

◆ r

unsigned char yarp::sig::PixelBgr::r {0}

Definition at line 539 of file Image.h.


The documentation for this struct was generated from the following file: