The class Image provides the ability of image transformation. This class belongs to the additional classes.
More...
#include <bgapi2_genicam.hpp>
|
class | ImageProcessor |
|
class | Polarizer |
|
The class Image provides the ability of image transformation. This class belongs to the additional classes.
Definition at line 3260 of file bgapi2_genicam.hpp.
◆ GetBuffer()
BGAPI2::Image::GetBuffer |
( |
| ) |
|
This function delivers a pointer to the memory of the Image object.
- Returns
- void* The pointer to the memory of Image object.
◆ GetHeight()
BGAPI2::Image::GetHeight |
( |
| ) |
|
This function delivers the height of the image in pixel.
- Returns
- bo_uint The height of the image in pixel.
◆ GetHistogram() [1/2]
BGAPI2::Image::GetHistogram |
( |
bo_tHistRecords |
tHistogram, |
|
|
bo_uint |
offsetx, |
|
|
bo_uint |
offsety, |
|
|
bo_uint |
width, |
|
|
bo_uint |
height |
|
) |
| |
This function delivers a histogram of a specified region of the Image object.
- Parameters
-
tHistogram | A structure which includes the histogram data. |
offsetx | The left coordinate of the ROI. |
offsety | The top coordinate of the ROI. |
width | The width of the ROI. |
height | The height of the ROI. |
- Exceptions
-
◆ GetHistogram() [2/2]
This function delivers a histogram of the complete Image object.
- Parameters
-
tHistogram | A structure which includes the histogram data. |
- Exceptions
-
◆ GetPixelformat()
BGAPI2::Image::GetPixelformat |
( |
| ) |
|
This function delivers the pixel format of the Image object.
- Returns
- String The pixelformat of the Image object.
◆ GetTransformBufferLength()
BGAPI2::Image::GetTransformBufferLength |
( |
String |
sPixelFormat | ) |
|
This function delivers the destination buffer size after the transformation.
- Parameters
-
sPixelFormat | The pixel format for the transformation. |
- Returns
- bo_uint64 The destination buffer size after the transformation.
- Exceptions
-
◆ GetWidth()
BGAPI2::Image::GetWidth |
( |
| ) |
|
This function delivers the width of the image in pixel.
- Returns
- bo_uint The width of the image in pixel.
◆ Init()
BGAPI2::Image::Init |
( |
bo_uint |
width, |
|
|
bo_uint |
height, |
|
|
String |
sPixelFormat, |
|
|
void * |
pBuffer, |
|
|
bo_uint64 |
uBufferSize |
|
) |
| |
This function reinitialise an Image object.
- Parameters
-
width | The width of the Image object in pixel. |
height | The height of the Image object in pixel. |
sPixelFormat | The pixelformat of the Image object. |
pBuffer | The user defined image buffer. |
uBufferSize | The size of the user defined image buffer bytes. |
- Exceptions
-
The documentation for this class was generated from the following file: