Image file operations.
More...
Enumerations |
| enum | {
FORMAT_NULL,
FORMAT_ANY,
FORMAT_PGM,
FORMAT_PPM,
FORMAT_NUMERIC
} |
Functions |
| bool | read (ImageOf< PixelRgb > &dest, const char *src) |
| bool | read (ImageOf< PixelBgr > &dest, const char *src) |
| bool | read (ImageOf< PixelRgba > &dest, const char *src) |
| bool | read (ImageOf< PixelMono > &dest, const char *src) |
| bool | read (ImageOf< PixelFloat > &dest, const char *src) |
| bool | write (const ImageOf< PixelRgb > &src, const char *dest) |
| bool | write (const ImageOf< PixelBgr > &src, const char *dest) |
| bool | write (const ImageOf< PixelRgba > &src, const char *dest) |
| bool | write (const ImageOf< PixelMono > &src, const char *dest) |
| bool | write (const ImageOf< PixelFloat > &src, const char *dest) |
| bool | write (const Image &src, const char *dest) |
| bool | read (Sound &dest, const char *src) |
| | Read a sound from file.
|
| bool | write (const Sound &src, const char *dest) |
| | Write a sound to file.
|
Detailed Description
Image file operations.
Enumeration Type Documentation
- Enumerator:
| FORMAT_NULL |
|
| FORMAT_ANY |
|
| FORMAT_PGM |
|
| FORMAT_PPM |
|
| FORMAT_NUMERIC |
|
Definition at line 30 of file ImageFile.h.
Function Documentation
| bool yarp::sig::file::read |
( |
ImageOf< PixelRgb > & |
dest, |
|
|
const char * |
src | |
|
) |
| | |
| bool yarp::sig::file::read |
( |
ImageOf< PixelBgr > & |
dest, |
|
|
const char * |
src | |
|
) |
| | |
| bool yarp::sig::file::read |
( |
ImageOf< PixelRgba > & |
dest, |
|
|
const char * |
src | |
|
) |
| | |
| bool yarp::sig::file::read |
( |
ImageOf< PixelMono > & |
dest, |
|
|
const char * |
src | |
|
) |
| | |
| bool yarp::sig::file::read |
( |
ImageOf< PixelFloat > & |
dest, |
|
|
const char * |
src | |
|
) |
| | |
| bool yarp::sig::file::write |
( |
const ImageOf< PixelRgb > & |
src, |
|
|
const char * |
dest | |
|
) |
| | |
| bool yarp::sig::file::write |
( |
const ImageOf< PixelBgr > & |
src, |
|
|
const char * |
dest | |
|
) |
| | |
| bool yarp::sig::file::write |
( |
const ImageOf< PixelRgba > & |
src, |
|
|
const char * |
dest | |
|
) |
| | |
| bool yarp::sig::file::write |
( |
const ImageOf< PixelMono > & |
src, |
|
|
const char * |
dest | |
|
) |
| | |
| bool yarp::sig::file::write |
( |
const ImageOf< PixelFloat > & |
src, |
|
|
const char * |
dest | |
|
) |
| | |
| bool yarp::sig::file::write |
( |
const Image & |
src, |
|
|
const char * |
dest | |
|
) |
| | |
| bool yarp::sig::file::read |
( |
Sound & |
dest, |
|
|
const char * |
src | |
|
) |
| | |
Read a sound from file.
- Parameters:
-
| dest | sound to read |
| src | name of file (should be a WAV file) |
- Returns:
- true on success
| bool yarp::sig::file::write |
( |
const Sound & |
src, |
|
|
const char * |
dest | |
|
) |
| | |
Write a sound to file.
- Parameters:
-
| src | sound to write |
| dest | name of file (will be a WAV file) |
- Returns:
- true on success