Rev | Line | |
---|
[45] | 1 | #include <string>
|
---|
| 2 | #include <cxtypes.h>
|
---|
| 3 |
|
---|
| 4 | /*!
|
---|
| 5 | * \brief InitVisionFilter
|
---|
| 6 | *
|
---|
| 7 | * \return true
|
---|
| 8 | */
|
---|
| 9 |
|
---|
| 10 | bool InitVisionFilter(std::string args);
|
---|
| 11 |
|
---|
| 12 | void CloseVisionFilter(void);
|
---|
| 13 |
|
---|
[47] | 14 | enum 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 |
|
---|
| 21 | void 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.