ddt  0.1
imageProc.hpp
Go to the documentation of this file.
1 // @copyright
2 // (c) Copyright ESO 2020
3 // All Rights Reserved
4 // ESO (eso.org) is an Intergovernmental Organization, and therefore special
5 // legal conditions apply.
6 //
7 // @file imageProc.hpp
8 // @brief Image processing function declaration.
9 //
10 // This file is part of the DDT Image Handling Library and
11 // provides functions to process CPL images.
12 //
13 // @author Christoph Bortlisz, CGI
14 // @since 2020/07/29
15 //
16 
17 #ifndef IMAGEPROC_HPP_
18 #define IMAGEPROC_HPP_
19 
20 //#include <algorithm>
21 //#include <cctype>
22 #include <vector>
23 
24 //#include <sys/stat.h>
25 
26 #include <cpl.h>
27 
28 // namespace ddt {
29 
48 bool RotateCplImage(cpl_image* image, int rotate = 0);
49 
60 bool FlipCplImage(cpl_image* image, int angle = 0);
61 
71 bool ThresholdCplImage(cpl_image* image, double lower_bound,
72  double higher_bound, double low_cut_value,
73  double high_cut_value);
74 
75 //} // namespace ddt
76 
77 #endif /* IMAGEPROC_HPP_ */
RotateCplImage
bool RotateCplImage(cpl_image *image, int rotate=0)
Definition: imageProc.cpp:39
FlipCplImage
bool FlipCplImage(cpl_image *image, int angle=0)
Definition: imageProc.cpp:59
ThresholdCplImage
bool ThresholdCplImage(cpl_image *image, double lower_bound, double higher_bound, double low_cut_value, double high_cut_value)
Definition: imageProc.cpp:78