MaxstARSDK
MasTrackedImage Class Reference

image data which is used for tracker and rendering More...

#import <MasTrackedImage.h>

Inheritance diagram for MasTrackedImage:
Inheritance graph
Collaboration diagram for MasTrackedImage:
Collaboration graph

Instance Methods

(instancetype) - init:
 
(int) - getWidth
 Get image width. More...
 
(int) - getHeight
 Get image height. More...
 
(int) - getLength
 Get image length. More...
 
(MasColorFormat- getForamt
 Get image format. More...
 
(const unsigned long long int) - getTimestamp
 Get image timestamp. More...
 
(const unsigned char *) - getData
 Get image data. More...
 

Protected Types

enum  MasColorFormat : int {
  RGB888 = 1 , YUV420sp = 2 , YUV420 = 3 , YUV420_888 = 4 ,
  GRAY8 = 5 , RGBA8888 = 6 , NONE = 7
}
 Pixel Format @constant RGB888 @constant YUV420sp @constant YUV420 @constant YUV420_888 @constant GRAY8. More...
 

Detailed Description

image data which is used for tracker and rendering

Member Enumeration Documentation

◆ MasColorFormat

- (enum MasColorFormat) :
protected

Pixel Format @constant RGB888 @constant YUV420sp @constant YUV420 @constant YUV420_888 @constant GRAY8.

Enumerator
RGB888 
YUV420sp 
YUV420 
YUV420_888 
GRAY8 
RGBA8888 
NONE 

Method Documentation

◆ getData

- (const unsigned char *) getData

Get image data.

◆ getForamt

- (MasColorFormat) getForamt

Get image format.

◆ getHeight

- (int) getHeight

Get image height.

◆ getLength

- (int) getLength

Get image length.

◆ getTimestamp

- (const unsigned long long int) getTimestamp

Get image timestamp.

◆ getWidth

- (int) getWidth

Get image width.

◆ init:

- (instancetype) init: (void *)  image

The documentation for this class was generated from the following file: