Diff of /src/image.h [000000] .. [413088]

Switch to unified view

a b/src/image.h
1
#include "Rcpp.h"
2
#include <opencv2/opencv.hpp>
3
#include "opencv2/xfeatures2d.hpp"
4
#include "opencv2/features2d.hpp"
5
#include "opencv2/shape/shape_transformer.hpp"
6
7
#ifndef IMAGE_H
8
#define IMAGE_H
9
10
////
11
// Processing
12
////
13
14
cv::Mat preprocessImage(cv::Mat &im, const bool invert, const char* flipflop, const char* rotate);
15
cv::Mat reversepreprocessImage(cv::Mat &im, const char* flipflop, const char* rotate);
16
  
17
////
18
// Warping
19
////
20
  
21
Rcpp::RawVector warpImage(Rcpp::RawVector ref_image, Rcpp::RawVector query_image, 
22
                          Rcpp::List mapping,
23
                          const int width1, const int height1,
24
                          const int width2, const int height2);
25
26
Rcpp::RawVector warpImageAuto(Rcpp::RawVector ref_image, Rcpp::RawVector query_image, 
27
                              Rcpp::List mapping,
28
                              const int width1, const int height1,
29
                              const int width2, const int height2);
30
31
Rcpp::RawVector warpImageManual(Rcpp::RawVector ref_image, Rcpp::RawVector query_image, 
32
                                Rcpp::List mapping,
33
                                const int width1, const int height1,
34
                                const int width2, const int height2);
35
36
#endif