-
Notifications
You must be signed in to change notification settings - Fork 902
Expand file tree
/
Copy pathimgcodecs.h
More file actions
27 lines (21 loc) · 854 Bytes
/
imgcodecs.h
File metadata and controls
27 lines (21 loc) · 854 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef _OPENCV3_IMGCODECS_H_
#define _OPENCV3_IMGCODECS_H_
#include <stdbool.h>
#ifdef __cplusplus
#include <opencv2/opencv.hpp>
extern "C" {
#endif
#include "core.h"
Mat Image_IMRead(const char* filename, int flags);
Mats Image_IMReadMulti(const char* filename, int flags);
Mats Image_IMReadMulti_WithParams(const char* filename, int start, int count, int flags);
bool Image_IMWrite(const char* filename, Mat img);
bool Image_IMWrite_WithParams(const char* filename, Mat img, IntVector params);
OpenCVResult Image_IMEncode(const char* fileExt, Mat img, void* vector);
OpenCVResult Image_IMEncode_WithParams(const char* fileExt, Mat img, IntVector params, void* vector);
Mat Image_IMDecode(ByteArray buf, int flags);
OpenCVResult Image_IMDecodeIntoMat(ByteArray buf, int flag, Mat dest);
#ifdef __cplusplus
}
#endif
#endif //_OPENCV3_IMGCODECS_H_