source: flair-src/trunk/lib/FlairVisionFilter/src/VisionFilter.h@ 183

Last change on this file since 183 was 125, checked in by Sanahuja Guillaume, 7 years ago

maj jpg

File size: 560 bytes
Line 
1#include <string>
2#include <cxtypes.h>
3
4/*!
5* \brief InitVisionFilter
6*
7* \return true
8*/
9
10bool InitVisionFilter(std::string args);
11
12void CloseVisionFilter(void);
13
14enum class PictureFormat_t {
15 Gray,/*!< gray 8 bits */
16 RGB,/*!< rgb 24 bits */
17 YUV_422ile,/*!< YUV 4:2:2 interleaved */
18 YUV_422p,/*!< YUV 4:2:2 planer */
19 } ;
20
21void saveToJpeg(IplImage* src_img,std::string filename,PictureFormat_t input_format,PictureFormat_t output_format,unsigned char compression_level=95);
Note: See TracBrowser for help on using the repository browser.