YARP  2.3.68+228-20170410.2+git7d0b2e0
Yet Another Robot Platform
yarp::sig Namespace Reference

Signal processing. More...

Namespaces

 draw
 Very basic drawing functions, in case you don't have anything better available.
 
 file
 Image file operations.
 

Classes

class  FlexImage
 Image class with user control of representation details. More...
 
class  Image
 Base class for storing images. More...
 
class  ImageNetworkHeader
 Byte order in image header for network transmission. More...
 
class  ImageOf
 Typed image class. More...
 
class  Matrix
 A class for a Matrix. More...
 
struct  PixelBgr
 Packed RGB pixel type, with pixels stored in reverse order. More...
 
struct  PixelBgra
 Packed BGRA pixel type. More...
 
struct  PixelHsv
 Packed HSV (hue/saturation/value pixel type. More...
 
struct  PixelHsvFloat
 Floating point HSV pixel type. More...
 
struct  PixelRgb
 Packed RGB pixel type. More...
 
struct  PixelRgba
 Packed RGBA pixel type. More...
 
struct  PixelRgbFloat
 Floating point RGB pixel type. More...
 
struct  PixelRgbInt
 Integer RGB pixel type. More...
 
struct  PixelRgbSigned
 Signed, packed RGB pixel type. More...
 
class  PosedImage
 
class  Sound
 Class for storing sounds. More...
 
class  Vector
 A class for a Vector. More...
 
class  VectorBase
 A Base class for a VectorOf<T>, provide default implementation for read/write methods. More...
 
class  VectorOf
 Provides: More...
 

Typedefs

typedef unsigned char PixelMono
 Monochrome pixel type. More...
 
typedef yarp::os::NetUint16 PixelMono16
 16-bit monochrome pixel type. More...
 
typedef yarp::os::NetInt32 PixelInt
 32-bit integer pixel type. More...
 

Functions

int PAD_BYTES (int len, int pad)
 computes the padding of YARP images. More...
 
bool submatrix (const Matrix &in, Matrix &out, int r1, int r2, int c1, int c2)
 
bool removeCols (const Matrix &in, Matrix &out, int first_col, int how_many)
 network stuff More...
 
bool removeRows (const Matrix &in, Matrix &out, int first_row, int how_many)
 

Variables

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

Detailed Description

Signal processing.

Typedef Documentation

◆ PixelInt

typedef yarp::os::NetInt32 yarp::sig::PixelInt

32-bit integer pixel type.

Definition at line 411 of file Image.h.

◆ PixelMono

typedef unsigned char yarp::sig::PixelMono

Monochrome pixel type.

Definition at line 401 of file Image.h.

◆ PixelMono16

typedef yarp::os::NetUint16 yarp::sig::PixelMono16

16-bit monochrome pixel type.

Definition at line 406 of file Image.h.

Function Documentation

◆ PAD_BYTES()

int yarp::sig::PAD_BYTES ( int  len,
int  pad 
)
inline

computes the padding of YARP images.

Parameters
lenis the row length in bytes
padis the desired padding (e.g. 8 bytes)
Returns
the number of extra bytes to add at the end of the image row

Definition at line 31 of file Image.h.

◆ removeCols()

YARP_END_PACK bool yarp::sig::removeCols ( const Matrix in,
Matrix out,
int  first_col,
int  how_many 
)

network stuff

Definition at line 45 of file Matrix.cpp.

◆ removeRows()

bool yarp::sig::removeRows ( const Matrix in,
Matrix out,
int  first_row,
int  how_many 
)

Definition at line 65 of file Matrix.cpp.

◆ submatrix()

bool yarp::sig::submatrix ( const Matrix in,
Matrix out,
int  r1,
int  r2,
int  c1,
int  c2 
)

Definition at line 85 of file Matrix.cpp.

Variable Documentation

◆ PixelFloat

YARP_END_PACK typedef float yarp::sig::PixelFloat

Floating point pixel type.

Definition at line 496 of file Image.h.

◆ PixelMonoSigned

YARP_END_PACK typedef char yarp::sig::PixelMonoSigned

Signed byte pixel type.

Definition at line 482 of file Image.h.