MaxstAR Native iOS  5.0.2
List of all members | Instance Methods | Protected Types
MasTrackedImage Class Reference

Description

TrackedImage class stores the image data.

Inherits NSObject.

Instance Methods

(int) - getWidth
 Get the width of the current image. More...
 
(int) - getHeight
 Get the height of the current image. More...
 
(MasColorFormat- getForamt
 Get the format of the current image. More...
 
(const unsigned char *) - getData
 Get byte array of the current image. More...
 

Member Enumeration Documentation

◆ MasColorFormat

- (enum) MasColorFormat
protected

color format enumerator for a camera image

Enumerator
RGB888 

RGB 24bit

YUV420sp 

YUV420SP

YUV420 

YUV420

YUV420_888 

YUV420 888

GRAY8 

Gray 8bit

NONE 

NONE

Method Documentation

◆ getData

- (const unsigned char *) getData

Get byte array of the current image.

Returns
the image byte array

◆ getForamt

- (MasColorFormat) getForamt

Get the format of the current image.

Returns
the image format

◆ getHeight

- (int) getHeight

Get the height of the current image.

Returns
the image height in pixel unit

◆ getWidth

- (int) getWidth

Get the width of the current image.

Returns
the image width in pixel unit