05.11.2014 Views

Baumer-GAPI2 SDK Programmer's Guide - Site ftp Elvitec

Baumer-GAPI2 SDK Programmer's Guide - Site ftp Elvitec

Baumer-GAPI2 SDK Programmer's Guide - Site ftp Elvitec

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

3.4.2<br />

Image Processor<br />

Image Processor<br />

The task of this class is the creation of image objects<br />

Functions of the class Image Processor<br />

B<strong>GAPI2</strong>::ImageProcessor:: ...<br />

GetInstance();<br />

ReleaseInstance();<br />

GetVersion();<br />

CreateImage(bo_uint width, bo_<br />

uint height, String pixelformat,<br />

void* pBuffer, bo_uint64 uBuffer-<br />

Size);<br />

CreateTransformedImage(Image*<br />

pInputImage, const char* szDestinationPixelformat);<br />

SetDestinationFlip( bool vertical,<br />

bool horicontal );<br />

GetDestinationFlip( bool *vertical,<br />

bool *horicontal );<br />

Creates a singleton instance of the<br />

class.<br />

Releases the image processor instance.<br />

Returns the version of the Image processor.<br />

Creates a BGAPI Image object based<br />

on a filled buffer.<br />

Creates an image object and performes<br />

a pixel format transformation.<br />

Flips the image in the specified direction.<br />

Returns the direction of the image flipping.<br />

23

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!