OSDN Git Service

add JPG and TIFF Support via OpenCV for Image::load and Image::save
[psychlops/cpp.git] / psychlops / extension / FileFormat / OpenCV / psychlops_g_OPENCV_bridge.h
1 /*
2  *  psychlops_g_PNG_bridge.h
3  *  Psychlops Standard Library (Universal)
4  *
5  *  Last Modified 2006/08/22 by Kenchi HOSOKAWA
6  *  (C) 2006- Kenchi HOSOKAWA, Kazushi MARUYA and Takao SATO
7  */
8
9 #ifndef HEADER_PSYCHLOPS_IMAGE_FORMATS_OPENCV
10 #define HEADER_PSYCHLOPS_IMAGE_FORMATS_OPENCV
11
12 #ifndef __cplusplus
13 #define __cplusplus
14 #endif
15
16 #include "../../../core/graphic/psychlops_g_image.h"
17
18
19 namespace Psychlops {
20 namespace IMAGE_FORMATS {
21
22
23         class OPENCV_BRIDGE : public IMAGE_FORMAT {
24                 private:
25
26                 public:
27                 OPENCV_BRIDGE();
28                 virtual ~OPENCV_BRIDGE();
29                 virtual void load(const char *file_name, Image * target);
30                 virtual void save(const char *file_name, Image * target);
31
32                 private:
33         };
34
35
36 }
37 }
38
39 #endif