EGrabber Reference  10.1.0.4
Classes | Namespaces | Macros | Typedefs | Enumerations | Functions
EuresysImage.h File Reference

Header file for image manipulation functions. More...

Go to the source code of this file.

Classes

struct  ImageConvertInput
 Image Conversion - Input Details. More...
 
struct  ImageConvertOutput
 Image Conversion - Output Details. More...
 
struct  ImageConvertROI
 Image Conversion - Region Of Interest Details (Optional) More...
 
struct  ImageSaveToDiskParams
 Image Save To Disk Parameters (Optional) More...
 

Namespaces

 GenTL
 
 GenTL::EuresysCustomGenTL
 

Macros

#define IMAGE_API   GC_IMPORT_EXPORT GC_ERROR GC_CALLTYPE
 
#define IMAGE_SAVE_TO_DISK_DEFAULT_CONFIG   IMAGE_CONVERT_OUTPUT_CONFIG_BAYER_ADVANCED
 
#define IMAGE_SAVE_TO_DISK_DEFAULT_QUALITY   50
 

Typedefs

typedef size_t IMAGE_ID
 
typedef struct GenTL::EuresysCustomGenTL::ImageConvertInput ImageConvertInput
 Image Conversion - Input Details. More...
 
typedef struct GenTL::EuresysCustomGenTL::ImageConvertOutput ImageConvertOutput
 Image Conversion - Output Details. More...
 
typedef struct GenTL::EuresysCustomGenTL::ImageConvertROI ImageConvertROI
 Image Conversion - Region Of Interest Details (Optional) More...
 
typedef struct GenTL::EuresysCustomGenTL::ImageSaveToDiskParams ImageSaveToDiskParams
 Image Save To Disk Parameters (Optional) More...
 

Enumerations

enum  IMAGE_CONVERT_OUTPUT_CONFIG { IMAGE_CONVERT_OUTPUT_CONFIG_DEFAULT = 0, IMAGE_CONVERT_OUTPUT_CONFIG_BAYER_ADVANCED = (1 << 0), IMAGE_CONVERT_OUTPUT_CONFIG_IMAGE_ID = (1 << 1), IMAGE_CONVERT_OUTPUT_CONFIG_O0 = (1 << 2) }
 
enum  IMAGE_CONVERT_OUTPUT_OPERATION { IMAGE_CONVERT_OUTPUT_OPERATION_COPY = 0, IMAGE_CONVERT_OUTPUT_OPERATION_1X2YE = 1 }
 
enum  IMAGE_CONVERT_INPUT_EXTRA { IMAGE_CONVERT_INPUT_EXTRA_IX_BUFFER_SIZE = 0, IMAGE_CONVERT_INPUT_EXTRA_IX_LINE_PITCH = 1, IMAGE_CONVERT_INPUT_EXTRA_IX_RESERVED_2 = 2, IMAGE_CONVERT_INPUT_EXTRA_IX_RESERVED_3 = 3 }
 

Functions

IMAGE_API ImageConvert (const ImageConvertInput *input, const ImageConvertOutput *output, const ImageConvertROI *roi)
 Convert image buffer. More...
 
IMAGE_API ImageGetPixelFormatValue (const char *sFormat, unsigned int iNs, unsigned int *piValue)
 Convert PFNC pixel format name into its numerical value. More...
 
IMAGE_API ImageGetPixelFormat (uint64_t iValue, char *sFormat, size_t *piSize)
 Convert PFNC pixel format numerical value into its name. More...
 
IMAGE_API ImageGetBytesPerPixel (const char *sFormat, unsigned int *piValue)
 Get number of bytes per pixel in a specific pixel format. More...
 
IMAGE_API ImageGetBitsPerPixel (const char *sFormat, unsigned int *piValue)
 Get number of bits per pixel in a specific pixel format. More...
 
IMAGE_API ImageSaveToDisk (const ImageConvertInput *input, const char *sFilepath, int64_t iIndex, const ImageSaveToDiskParams *params)
 Save image buffer to disk. More...
 
IMAGE_API ImageGet (IMAGE_ID idImage, void **outPixels, size_t *outSize)
 Get image information associated to an image identifier. More...
 
IMAGE_API ImageRelease (IMAGE_ID idImage)
 Release image associated to an image identifier. More...
 

Detailed Description

Header file for image manipulation functions.

Macro Definition Documentation

#define IMAGE_API   GC_IMPORT_EXPORT GC_ERROR GC_CALLTYPE