Maxst AR SDK 4.0.0  4.0.0
MasTrackedImage.h
1 //
2 // MasImage.h
3 // MaxstAR
4 //
5 // Created by Kimseunglee on 2017. 11. 23..
6 // Copyright © 2017년 이상훈. All rights reserved.
7 //
8 #import <Foundation/Foundation.h>
9 
13 @interface MasTrackedImage : NSObject
14 
24 typedef NS_ENUM(int, MasColorFormat) {
25  RGB888 = 1,
26  YUV420sp = 2,
27  YUV420 = 3,
28  YUV420_888 = 4,
29  GRAY8 = 5,
30  NONE = 6
31 };
32 
33 - (instancetype)init:(void*)image;
34 
38 - (int) getWidth;
39 
43 - (int) getHeight;
44 
48 - (int) getLength;
49 
53 - (MasColorFormat) getForamt;
54 
58 - (const unsigned long long int) getTimestamp;
59 
63 - (const unsigned char *) getData;
64 @end
image data which is used for tracker and rendering
Definition: MasTrackedImage.h:13