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

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

maj jpg

File size: 560 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 */
[125]16 RGB,/*!< rgb 24 bits */
17 YUV_422ile,/*!< YUV 4:2:2 interleaved */
18 YUV_422p,/*!< YUV 4:2:2 planer */
[124]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.