3DiVi Face SDK  3.24.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Groups
RawImage Class Reference

Struct that provides raw image data and optional cropping information. More...

#import <RawImage.h>

Instance Methods

(nonnull instancetype) - init::::
 Constructor for an image without cropping.
 
(nonnull instancetype) - init:
 Constructor for an image in InternalImageBuffer without cropping.
 
(nonnull instancetype) - init::
 Constructor for an image from CMSampleBufferRef.
 
(nonnull RawImage *) - crop:
 Create RawImage that represents the specified rectangle area of this image.
 

Properties

int width
 Image width.
 
int height
 Image height.
 
const unsigned char * data
 Pointer to the image data buffer. All pixels must be stored continuously, row by row, without gaps at the end of each row.
 

Detailed Description

Struct that provides raw image data and optional cropping information.