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

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

modifs jpeg

File size: 483 bytes
RevLine 
[122]1#include <string>
[123]2#include <cxtypes.h>
[122]3
4/*!
[123]5* \brief InitVisionFilter
[122]6*
[123]7* \return true
[122]8*/
9
[123]10bool InitVisionFilter(std::string args);
[122]11
[123]12void CloseVisionFilter(void);
13
[124]14enum class PictureFormat_t {
15 Gray,/*!< gray 8 bits */
16 RGB,/*!< rgb 24 bits */
17 UYVY,/*!< YUV 4:2:2 planer */
18 } ;
19
20void 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.