MaxstARSDK
All Classes Files Functions Variables Enumerations Enumerator Macros
MasTrackedImage.h
Go to the documentation of this file.
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,
29  GRAY8 = 5
30 };
31 
32 - (instancetype)init:(void*)image;
33 
37 - (int) getWidth;
38 
42 - (int) getHeight;
43 
47 - (int) getLength;
48 
53 
57 - (const unsigned char *) getData;
58 @end
const unsigned char * getData()
Get image data.
Definition: MasTrackedImage.h:28
int getWidth()
Get image width.
Definition: MasTrackedImage.h:25
MasColorFormat
Pixel Format RGB888 YUV420sp YUV420 YUV420_888 GRAY8.
Definition: MasTrackedImage.h:24
int getLength()
Get image length.
image data which is used for tracker and rendering
Definition: MasTrackedImage.h:13
Definition: MasTrackedImage.h:26
Definition: MasTrackedImage.h:29
MasColorFormat getForamt()
Get image format.
int getHeight()
Get image height.
Definition: MasTrackedImage.h:27