YARP  2.3.70.1
Yet Another Robot Platform
Image.h File Reference
#include <yarp/conf/system.h>
#include <yarp/os/Portable.h>
#include <yarp/os/Vocab.h>
#include <yarp/os/NetUint16.h>
#include <yarp/sig/api.h>
#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::ImageOf< T >
 Typed image class. More...
 
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.
 

Macros

#define YARPIMAGE_ASSOCIATE_TAG(tag, T)
 
#define YARP_IMAGE_HEADER_CONTROL
 

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...
 

Enumerations

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

Functions

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

Variables

YARP_END_PACK typedef char yarp::sig::PixelMonoSigned
 Signed byte pixel type. More...
 
YARP_END_PACK typedef float yarp::sig::PixelFloat
 Floating point pixel type. More...
 

Macro Definition Documentation

◆ YARP_IMAGE_HEADER_CONTROL

#define YARP_IMAGE_HEADER_CONTROL

Definition at line 663 of file Image.h.

◆ YARPIMAGE_ASSOCIATE_TAG

#define YARPIMAGE_ASSOCIATE_TAG (   tag,
 
)

Definition at line 597 of file Image.h.

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 363 of file Image.h.