![]() |
Programmer's Guide Baumer GAPI SDK Reference v2.10.0
|
The task of the class ImageProcessor are the creation of image objects and the transformation of pixel formats. More...
#include <bgapi2_genicam.hpp>
Public Member Functions | |
ImageProcessor () | |
Parameterless constructor for creating of an ImageProcessor-Object. | |
~ImageProcessor () | |
destructor to destroy an ImageProcessor object. | |
String | GetVersion () |
Get the version number of the ImageProcessor library. The delivered string is composed of these several tags: Major.Minor.LastChanged.RevId. More... | |
Image * | CreateImage () |
This function creates an empty Image object. More... | |
Image * | CreateImage (bo_uint width, bo_uint height, String pixelformat, void *pBuffer, bo_uint64 uBufferSize) |
Image * | CreateTransformedImage (Image *pInputImage, const char *szDestinationPixelformat) |
This function transforms the pixelformat of the passed Image object into a new created Image object. More... | |
void | TransformImageToBuffer (Image *pInputImage, const char *szDestinationPixelformat, void *pBuffer, bo_uint64 uBufferSize) |
This function transformes the pixel format of the Image object and writes the data into the passed destination buffer. More... | |
![]() | |
Node * | GetNode (String name) |
This function delivers a certain object of the Node list and provides the access to a node objcet without the detour across a NodeMap object. This function is functional identical to NodeMap::GetNode. More... | |
NodeMap * | GetNodeTree () |
This function provides the features of a object derived from INode interface as tree structure in form of a NodeMap pointer. For a detailed description of the tree structure representation refer to the class description of NodeMap. More... | |
NodeMap * | GetNodeList () |
This function provides the features of a object derived from INode interface as unstructured list in form of a NodeMap pointer. For a detailed description of the unstructured list representation refer to the class description of NodeMap. More... | |
The task of the class ImageProcessor are the creation of image objects and the transformation of pixel formats.
This class belongs to the additional classes. A transformation can be the demosaicing of raw sensor pixel arrangements in a common displayable pixelformat, e.g. RAWBAYER to RGB8 or RGB to YUV. This class is based on DLL "bgapi2_img.dll".
Definition at line 3352 of file bgapi2_genicam.hpp.
BGAPI2::ImageProcessor::CreateImage | ( | ) |
This function creates an empty Image object.
This function creates an Image object according the parameters width, height and pixelformat. The Image object uses a user defines buffer.
width | The width of the Image object in pixel. |
height | The height of the Image object in pixel. |
pixelformat | The pixelformat of the Image object. |
pBuffer | The user defined image buffer. |
uBufferSize | The size of the user defined image buffer bytes. |
BGAPI2::ImageProcessor::CreateTransformedImage | ( | Image * | pInputImage, |
const char * | szDestinationPixelformat | ||
) |
This function transforms the pixelformat of the passed Image object into a new created Image object.
pInputImage | A pointer to a Image object whose image data is to be transformed. |
szDestinationPixelformat | The desired destination pixel format of the delivered Image object. |
BGAPI2::ImageProcessor::GetVersion | ( | ) |
Get the version number of the ImageProcessor library. The delivered string is composed of these several tags: Major.Minor.LastChanged.RevId.
BGAPI2::ImageProcessor::TransformImageToBuffer | ( | Image * | pInputImage, |
const char * | szDestinationPixelformat, | ||
void * | pBuffer, | ||
bo_uint64 | uBufferSize | ||
) |
This function transformes the pixel format of the Image object and writes the data into the passed destination buffer.
pInputImage | A pointer to an Image object whose image data is to be transformed. |
szDestinationPixelformat | The destination pixel format. |
pBuffer | The destination buffer. |
uBufferSize | The destination buffer size. |
Exceptions::ErrorException | Error while transform the image. |
Jan, 14 2020
Baumer Optronic GmbH,
Badstrasse 30, 01454 D-Radeberg, Tel:+49-3528-4386-0, Fax:+49-3528-4386-86,
Email:support.cameras@baumer.com