source: flair-src/branches/sanscv/lib/FlairVisionFilter/src/VisionFilter.h@ 325

Last change on this file since 325 was 325, checked in by Sanahuja Guillaume, 5 years ago

using pimpl

File size: 620 bytes
Line 
1#include <string>
2
3namespace flair {
4 namespace core {
5 class Image;
6 }
7}
8
9
10/*!
11* \brief InitVisionFilter
12*
13* \return true
14*/
15
16bool InitVisionFilter(std::string args);
17
18void CloseVisionFilter(void);
19
20enum class PictureFormat_t {
21 Gray,/*!< gray 8 bits */
22 RGB,/*!< rgb 24 bits */
23 YUV_422ile,/*!< YUV 4:2:2 interleaved */
24 YUV_422p,/*!< YUV 4:2:2 planer */
25 } ;
26
27void saveToJpeg(flair::core::Image* 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.