YARP  2.3.70.1
Yet Another Robot Platform
yarp::sig::PixelRgb Struct Reference

Packed RGB pixel type. More...

#include <yarp/sig/Image.h>

Public Member Functions

 PixelRgb ()
 
 PixelRgb (unsigned char n_r, unsigned char n_g, unsigned char n_b)
 

Public Attributes

unsigned char r
 
unsigned char g
 
unsigned char b
 

Detailed Description

Packed RGB pixel type.

Examples:
imagemagick/main.cpp, opencv/main.cpp, os/image_process.cpp, os/image_process_module.cpp, and os/image_source.cpp.

Definition at line 421 of file Image.h.

Constructor & Destructor Documentation

◆ PixelRgb() [1/2]

yarp::sig::PixelRgb::PixelRgb ( )
inline

Definition at line 425 of file Image.h.

◆ PixelRgb() [2/2]

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

Definition at line 426 of file Image.h.

Member Data Documentation

◆ b

unsigned char yarp::sig::PixelRgb::b
Examples:
imagemagick/main.cpp.

Definition at line 423 of file Image.h.

◆ g

unsigned char yarp::sig::PixelRgb::g
Examples:
imagemagick/main.cpp.

Definition at line 423 of file Image.h.

◆ r

unsigned char yarp::sig::PixelRgb::r
Examples:
imagemagick/main.cpp.

Definition at line 423 of file Image.h.


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