Impact Acquire SDK Java
|
Fully describes a captured image. More...
Public Member Functions | |
synchronized void | delete () |
int | getIBytesPerPixel () |
The number of bytes per pixel. | |
int | getIChannelCount () |
The number of channels this image consists of. | |
int | getIHeight () |
The height of the image in pixel or lines. | |
int | getISize () |
The size (in bytes) of the whole image. | |
int | getIWidth () |
The width of the image in pixel. | |
ChannelData | getPChannels () |
A pointer to an array of channel specific image data. | |
int | getPixelFormat () |
The pixel format of this image. | |
SWIGTYPE_p_void | getVpData () |
The starting address of the image. | |
ImageBuffer () | |
void | setIBytesPerPixel (int value) |
The number of bytes per pixel. | |
void | setIChannelCount (int value) |
The number of channels this image consists of. | |
void | setIHeight (int value) |
The height of the image in pixel or lines. | |
void | setISize (int value) |
The size (in bytes) of the whole image. | |
void | setIWidth (int value) |
The width of the image in pixel. | |
void | setPChannels (ChannelData value) |
A pointer to an array of channel specific image data. | |
void | setPixelFormat (int value) |
The pixel format of this image. | |
void | setVpData (SWIGTYPE_p_void value) |
The starting address of the image. | |
Protected Member Functions | |
void | finalize () |
ImageBuffer (long cPtr, boolean cMemoryOwn) | |
Static Protected Member Functions | |
static long | swigRelease (ImageBuffer obj) |
Protected Attributes | |
transient boolean | swigCMemOwn |
Fully describes a captured image.
This class serves as a describing structure for captured images.
|
protected |
ImageBuffer | ( | ) |
synchronized void delete | ( | ) |
|
protected |
int getIBytesPerPixel | ( | ) |
The number of bytes per pixel.
int getIChannelCount | ( | ) |
The number of channels this image consists of.
For an RGB image this value e.g. would be 3. This value defines how many mvIMPACT.acquire.ChannelData structures mvIMPACT.acquire.ImageBuffer.pChannels is pointing to once this structure has been allocated and filled with valid data.
int getIHeight | ( | ) |
The height of the image in pixel or lines.
int getISize | ( | ) |
The size (in bytes) of the whole image.
This value in connection with mvIMPACT.acquire.ImageBuffer.vpData is sufficient to copy the complete image without having any additional information about it.
int getIWidth | ( | ) |
The width of the image in pixel.
ChannelData getPChannels | ( | ) |
A pointer to an array of channel specific image data.
int getPixelFormat | ( | ) |
The pixel format of this image.
This might be important, when the image data needs to be processed or stored in a file or maybe even if the image shall be displayed.
SWIGTYPE_p_void getVpData | ( | ) |
The starting address of the image.
This address in connection with mvIMPACT.acquire.ImageBuffer.iSize is sufficient to copy the complete image without having any additional information about it.
void setIBytesPerPixel | ( | int | value | ) |
The number of bytes per pixel.
void setIChannelCount | ( | int | value | ) |
The number of channels this image consists of.
For an RGB image this value e.g. would be 3. This value defines how many mvIMPACT.acquire.ChannelData structures mvIMPACT.acquire.ImageBuffer.pChannels is pointing to once this structure has been allocated and filled with valid data.
void setIHeight | ( | int | value | ) |
The height of the image in pixel or lines.
void setISize | ( | int | value | ) |
The size (in bytes) of the whole image.
This value in connection with mvIMPACT.acquire.ImageBuffer.vpData is sufficient to copy the complete image without having any additional information about it.
void setIWidth | ( | int | value | ) |
The width of the image in pixel.
void setPChannels | ( | ChannelData | value | ) |
A pointer to an array of channel specific image data.
void setPixelFormat | ( | int | value | ) |
The pixel format of this image.
This might be important, when the image data needs to be processed or stored in a file or maybe even if the image shall be displayed.
void setVpData | ( | SWIGTYPE_p_void | value | ) |
The starting address of the image.
This address in connection with mvIMPACT.acquire.ImageBuffer.iSize is sufficient to copy the complete image without having any additional information about it.
|
staticprotected |
|
protected |