YARP
Yet Another Robot Platform
Image.h File Reference
#include <yarp/conf/system.h>
#include <yarp/os/NetUint16.h>
#include <yarp/os/Portable.h>
#include <yarp/os/Type.h>
#include <yarp/os/Vocab.h>
#include <yarp/sig/api.h>
#include <map>
#include <yarp/os/NetInt32.h>
+ Include dependency graph for Image.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  yarp::sig::Image
 Base class for storing images. More...
 
class  yarp::sig::FlexImage
 Image class with user control of representation details. More...
 
struct  yarp::sig::PixelRgb
 Packed RGB pixel type. More...
 
struct  yarp::sig::PixelRgba
 Packed RGBA pixel type. More...
 
struct  yarp::sig::PixelBgra
 Packed BGRA pixel type. More...
 
struct  yarp::sig::PixelBgr
 Packed RGB pixel type, with pixels stored in reverse order. More...
 
struct  yarp::sig::PixelHsv
 Packed HSV (hue/saturation/value pixel type. More...
 
struct  yarp::sig::PixelRgbSigned
 Signed, packed RGB pixel type. More...
 
struct  yarp::sig::PixelRgbFloat
 Floating point RGB pixel type. More...
 
struct  yarp::sig::PixelRgbInt
 Integer RGB pixel type. More...
 
struct  yarp::sig::PixelHsvFloat
 Floating point HSV pixel type. More...
 
class  yarp::sig::ImageOf< T >
 Typed image class. More...
 

Namespaces

 yarp
 The main, catch-all namespace for YARP.
 
 yarp::sig
 Signal processing.
 

Typedefs

typedef unsigned char yarp::sig::PixelMono
 Monochrome pixel type. More...
 
typedef yarp::os::NetUint16 yarp::sig::PixelMono16
 16-bit monochrome pixel type. More...
 
typedef yarp::os::NetInt32 yarp::sig::PixelInt
 32-bit integer pixel type. More...
 
typedef char yarp::sig::PixelMonoSigned
 Signed byte pixel type. More...
 
typedef float yarp::sig::PixelFloat
 Floating point pixel type. More...
 

Enumerations

enum  YarpVocabPixelTypesEnum {
  VOCAB_PIXEL_INVALID = 0,
  VOCAB_PIXEL_MONO = yarp::os::createVocab('m','o','n','o'),
  VOCAB_PIXEL_MONO16 = yarp::os::createVocab('m','o','1','6'),
  VOCAB_PIXEL_RGB = yarp::os::createVocab('r','g','b'),
  VOCAB_PIXEL_RGBA = yarp::os::createVocab('r','g','b','a'),
  VOCAB_PIXEL_BGRA = yarp::os::createVocab('b','g','r','a'),
  VOCAB_PIXEL_INT = yarp::os::createVocab('i','n','t'),
  VOCAB_PIXEL_HSV = yarp::os::createVocab('h','s','v'),
  VOCAB_PIXEL_BGR = yarp::os::createVocab('b','g','r'),
  VOCAB_PIXEL_MONO_SIGNED = yarp::os::createVocab('s','i','g','n'),
  VOCAB_PIXEL_RGB_SIGNED = yarp::os::createVocab('r','g','b','-'),
  VOCAB_PIXEL_RGB_INT = yarp::os::createVocab('r','g','b','i'),
  VOCAB_PIXEL_MONO_FLOAT = yarp::os::createVocab('d','e','c'),
  VOCAB_PIXEL_RGB_FLOAT = yarp::os::createVocab('r','g','b','.'),
  VOCAB_PIXEL_HSV_FLOAT = yarp::os::createVocab('h','s','v','.'),
  VOCAB_PIXEL_ENCODING_BAYER_GRBG8 = yarp::os::createVocab('g', 'r', 'b', 'g'),
  VOCAB_PIXEL_ENCODING_BAYER_GRBG16 = yarp::os::createVocab('g', 'r', '1', '6'),
  VOCAB_PIXEL_ENCODING_BAYER_BGGR8 = yarp::os::createVocab('b', 'g', 'g', 'r'),
  VOCAB_PIXEL_ENCODING_BAYER_BGGR16 = yarp::os::createVocab('b', 'g', '1', '6'),
  VOCAB_PIXEL_ENCODING_BAYER_GBRG8 = yarp::os::createVocab('g', 'b', 'r', 'g'),
  VOCAB_PIXEL_ENCODING_BAYER_GBRG16 = yarp::os::createVocab('g', 'b', '1', '6'),
  VOCAB_PIXEL_ENCODING_BAYER_RGGB8 = yarp::os::createVocab('r', 'g', 'g', 'b'),
  VOCAB_PIXEL_ENCODING_BAYER_RGGB16 = yarp::os::createVocab('r', 'g', '1', '6'),
  VOCAB_PIXEL_YUV_420 = yarp::os::createVocab('y','u','v','a'),
  VOCAB_PIXEL_YUV_444 = yarp::os::createVocab('y','u','v','b'),
  VOCAB_PIXEL_YUV_422 = yarp::os::createVocab('y','u','v','c'),
  VOCAB_PIXEL_YUV_411 = yarp::os::createVocab('y','u','v','d')
}
 

Functions

size_t yarp::sig::PAD_BYTES (size_t len, size_t pad)
 computes the padding of YARP images. More...
 

Enumeration Type Documentation

◆ YarpVocabPixelTypesEnum

Enumerator
VOCAB_PIXEL_INVALID 
VOCAB_PIXEL_MONO 
VOCAB_PIXEL_MONO16 
VOCAB_PIXEL_RGB 
VOCAB_PIXEL_RGBA 
VOCAB_PIXEL_BGRA 
VOCAB_PIXEL_INT 
VOCAB_PIXEL_HSV 
VOCAB_PIXEL_BGR 
VOCAB_PIXEL_MONO_SIGNED 
VOCAB_PIXEL_RGB_SIGNED 
VOCAB_PIXEL_RGB_INT 
VOCAB_PIXEL_MONO_FLOAT 
VOCAB_PIXEL_RGB_FLOAT 
VOCAB_PIXEL_HSV_FLOAT 
VOCAB_PIXEL_ENCODING_BAYER_GRBG8 
VOCAB_PIXEL_ENCODING_BAYER_GRBG16 
VOCAB_PIXEL_ENCODING_BAYER_BGGR8 
VOCAB_PIXEL_ENCODING_BAYER_BGGR16 
VOCAB_PIXEL_ENCODING_BAYER_GBRG8 
VOCAB_PIXEL_ENCODING_BAYER_GBRG16 
VOCAB_PIXEL_ENCODING_BAYER_RGGB8 
VOCAB_PIXEL_ENCODING_BAYER_RGGB16 
VOCAB_PIXEL_YUV_420 
VOCAB_PIXEL_YUV_444 
VOCAB_PIXEL_YUV_422 
VOCAB_PIXEL_YUV_411 

Definition at line 45 of file Image.h.