ddt  1.0.0
imageProc.hpp
Go to the documentation of this file.
1 
20 #ifndef IMAGEPROC_HPP_
21 #define IMAGEPROC_HPP_
22 
23 //#include <algorithm>
24 //#include <cctype>
25 #include <vector>
26 
27 //#include <sys/stat.h>
28 
29 #include <cpl.h>
30 
31 // namespace ddt {
32 
51 bool RotateCplImage(cpl_image* image, int rotate = 0);
52 
63 bool FlipCplImage(cpl_image* image, int angle = 0);
64 
74 bool ThresholdCplImage(cpl_image* image, double lower_bound,
75  double higher_bound, double low_cut_value,
76  double high_cut_value);
77 
78 //} // namespace ddt
79 
80 #endif /* IMAGEPROC_HPP_ */
81 
bool RotateCplImage(cpl_image *image, int rotate=0)
Definition: imageProc.cpp:42
bool ThresholdCplImage(cpl_image *image, double lower_bound, double higher_bound, double low_cut_value, double high_cut_value)
Definition: imageProc.cpp:81
bool FlipCplImage(cpl_image *image, int angle=0)
Definition: imageProc.cpp:62