3DiVi Face SDK
3.21.0
|
Class to provide raw image data and optional cropping information. More...
Classes | |
enum | Format |
Format of image data. More... | |
enum | PixelFormat |
Format of image data in pixel array. More... | |
Public Member Functions | |
RawImage (int width, int height, Format format, byte[] data) | |
Constructor. More... | |
RawImage | crop (RawSample.Rectangle rectangle) |
Make RawImage that represents the specified rectangle area of this image. | |
int[] | getPixels (PixelFormat format) |
Create an int array containing pixels in the specified format. | |
Public Attributes | |
int | width |
Image width. | |
int | height |
Image height. | |
Format | format |
Format of image data. | |
byte[] | data |
The array of bytes of image data. | |
boolean | with_crop |
Flag, which indicates that cropping info is initialized. This value is set in the RawImage.crop member function. | |
int | crop_info_offset_x |
Cropping offset along the x axis. This value is set in the RawImage.crop member function. | |
int | crop_info_offset_y |
Cropping offset along the y axis. This value is set in the RawImage.crop member function. | |
int | crop_info_data_image_width |
Image width before RawImage.crop. This value is set in the RawImage.crop member function. | |
int | crop_info_data_image_height |
Image height before RawImage.crop. This value is set in the RawImage.crop member function. | |
Class to provide raw image data and optional cropping information.