27 #ifndef TRICLOPSIMAGEIO_H 28 #define TRICLOPSIMAGEIO_H 141 const char *filename,
193 const char *filename,
215 bool isSingleBuffer);
232 bool isSingleBuffer);
304 const char *filename);
324 const char *filename);
348 const char *filename,
515 #endif // #ifndef TRICLOPSIMAGEIO_H Color image pair for stereo computation.
Definition: triclopstype.h:133
enum TriclopsError triclopsBuildColorStereoPairFromFile(const TriclopsContext context, const char *filename, TriclopsColorPixelFormat pixelFormat, TriclopsColorStereoPair *triclopsInput)
Loads a color picture from file in a side-by-side structure.
Definition: triclopsimageio.cpp:128
Greyscale image pair for stereo computation.
Definition: triclopstype.h:124
TriclopsImageType
8-bit per pixel image type enumerator
Definition: triclopsenum.h:52
32-bit RGBU color image structure
Definition: triclopstype.h:113
enum TriclopsError triclopsSaveColorImage(TriclopsColorImage *image, const char *filename, TriclopsColorPixelFormat pixelFormat)
Saves a color image to memory.
Definition: triclopsimageio.cpp:203
TriclopsCamera
Sensor definition enumerator.
Definition: triclopsenum.h:136
16-bit greyscale image structure
Definition: triclopstype.h:79
TriclopsColorImageType
32-bit per pixel image type enumerator
Definition: triclopsenum.h:99
TriclopsImage16Type
16-bit per pixel image type enumerator
Definition: triclopsenum.h:79
enum TriclopsError triclopsGetImage(const TriclopsContext context, TriclopsImageType imageType, TriclopsCamera camera, TriclopsImage *image)
Retrieves an 8-bit greyscale image form a context.
Definition: triclopsimageio.cpp:35
enum TriclopsError triclopsSaveImage(TriclopsImage *image, const char *filename)
Saves a greyscale image to memory.
Definition: triclopsimageio.cpp:151
TriclopsError
Error enumerator.
Definition: triclopserror.h:46
enum TriclopsError triclopsLoadImageFromFile(const char *filename, TriclopsImage *image)
Load a 8bit image from a file.
Definition: triclopsimageio.cpp:284
enum TriclopsError triclopsLoadImage16FromBuffer(unsigned short *buffer, unsigned int nrows, unsigned int ncols, unsigned int rowinc, TriclopsImage16 *image)
Load a 16-bit image from a buffer.
Definition: triclopsimageio.cpp:351
enum TriclopsError triclopsGetColorImage(const TriclopsContext context, TriclopsColorImageType imageType, TriclopsCamera camera, TriclopsColorImage *image)
Retrieves a 32-bit color image form a context.
Definition: triclopsimageio.cpp:184
enum TriclopsError triclopsFreeMonoStereoPair(TriclopsMonoStereoPair *stereoPair, bool isSingleBuffer)
Releases a greyscale side-by-side image structure.
Definition: triclopsimageio.cpp:242
enum TriclopsError triclopsBuildColorStereoPairFromBuffers(const TriclopsContext context, TriclopsColorImage *right, TriclopsColorImage *left, TriclopsColorStereoPair *triclopsInput)
Joins two color images in a single side-by-side structure.
Definition: triclopsimageio.cpp:81
void * TriclopsContext
Wrapper for the internal C++ Triclops context.
Definition: triclopstype.h:54
enum TriclopsError triclopsBuildMonoStereoPairFromFile(const TriclopsContext context, const char *filename, TriclopsMonoStereoPair *triclopsInput)
Loads a greyscale picture from file in a side-by-side structure.
Definition: triclopsimageio.cpp:107
enum TriclopsError triclopsLoadImageFromBuffer(unsigned char *buffer, unsigned int nrows, unsigned int ncols, unsigned int rowinc, TriclopsImage *image)
Load a 8-bit image from a buffer.
Definition: triclopsimageio.cpp:303
enum TriclopsError triclopsBuildMonoStereoPairFromBuffers(const TriclopsContext context, TriclopsImage *right, TriclopsImage *left, TriclopsMonoStereoPair *triclopsInput)
Joins two greyscale images in a single side-by-side structure.
Definition: triclopsimageio.cpp:55
enum TriclopsError triclopsLoadImage16FromFile(const char *filename, TriclopsImage16 *image)
Load a 16-bit image from a file.
Definition: triclopsimageio.cpp:332
TriclopsColorPixelFormat
Color pixel structure enumerator.
Definition: triclopsenum.h:121
enum TriclopsError triclopsLoadColorImageFromFile(const char *filename, TriclopsColorPixelFormat pixelFormat, TriclopsColorImage *image)
Load a color image from a file.
Definition: triclopsimageio.cpp:380
8-bit greyscale image structure
Definition: triclopstype.h:62
enum TriclopsError triclopsFreeColorStereoPair(TriclopsColorStereoPair *stereoPair, bool isSingleBuffer)
Releases a color side-by-side image structure.
Definition: triclopsimageio.cpp:263
enum TriclopsError triclopsGetImage16(const TriclopsContext context, TriclopsImage16Type imageType, TriclopsCamera camera, TriclopsImage16 *image)
Retrieves a 16-bit greyscale image form a context.
Definition: triclopsimageio.cpp:222
Single colored pixel helper structure.
Definition: triclopstype.h:97
enum TriclopsError triclopsSaveImage16(TriclopsImage16 *image, const char *filename)
Saves a 16-bit image to memory.
Definition: triclopsimageio.cpp:167
enum TriclopsError triclopsLoadColorImageFromBuffer(TriclopsColorPixel *buffer, unsigned int nrows, unsigned int ncols, unsigned int rowinc, TriclopsColorImage *image)
Load a color image from a buffer.
Definition: triclopsimageio.cpp:401