Static Public Member Functions | Static Protected Member Functions | List of all members
rotateImage Class Reference

#include <rotateImage.h>

Static Public Member Functions

static void rotate_image (Mat &src, Mat &dst, const double degree)
 

Static Protected Member Functions

static double degreeToRadian (double degree)
 
static map< string, Point > getCentreBetweenOriginalsAndProjections (map< string, Point > &originals, map< string, Point > &projections)
 
static Point getCentreBetweenPoints (Point &a, Point &b)
 
static Point getColisionPoint (Equ e1, Equ e2)
 
static map< string, Point > getCorners (Size &original, map< string, int > &margins)
 
static Equ getLinearEquation (Point &a, Point &b)
 
static map< string, EqugetLinearEquationBetweenOriginalsAndProjections (map< string, Point > &originals, map< string, Point > &projections)
 
static Equ getPerpendicular (Equ e, Point p)
 
static map< string, EqugetPerpendicularLinearEquation (map< string, Point > &originals, map< string, Point > &projections, map< string, Point > &centre)
 
static map< string, Point > getProjectedCorners (Size &s, double h, double degree, double angle)
 
static double radianToDegree (double radian)
 
static map< string, int > rotationExtraMargins (Size &original, Size &newSize)
 
static Size rotationNewCanvasSize (double degree, double angle, double h)
 
static double round (double number)
 
static double solveEquationX (Equ e, double y)
 
static double solveEquationY (Equ e, double x)
 

Detailed Description

Definition at line 77 of file rotateImage.h.

Member Function Documentation

double rotateImage::degreeToRadian ( double  degree)
staticprotected

Definition at line 55 of file rotateImage.cpp.

map< string, Point > rotateImage::getCentreBetweenOriginalsAndProjections ( map< string, Point > &  originals,
map< string, Point > &  projections 
)
staticprotected

Definition at line 194 of file rotateImage.cpp.

Point rotateImage::getCentreBetweenPoints ( Point &  a,
Point &  b 
)
staticprotected

Definition at line 177 of file rotateImage.cpp.

Point rotateImage::getColisionPoint ( Equ  e1,
Equ  e2 
)
staticprotected

Definition at line 275 of file rotateImage.cpp.

map< string, Point > rotateImage::getCorners ( Size &  original,
map< string, int > &  margins 
)
staticprotected

Definition at line 116 of file rotateImage.cpp.

Equ rotateImage::getLinearEquation ( Point &  a,
Point &  b 
)
staticprotected

Definition at line 206 of file rotateImage.cpp.

map< string, Equ > rotateImage::getLinearEquationBetweenOriginalsAndProjections ( map< string, Point > &  originals,
map< string, Point > &  projections 
)
staticprotected

Definition at line 253 of file rotateImage.cpp.

Equ rotateImage::getPerpendicular ( Equ  e,
Point  p 
)
staticprotected

Definition at line 230 of file rotateImage.cpp.

map< string, Equ > rotateImage::getPerpendicularLinearEquation ( map< string, Point > &  originals,
map< string, Point > &  projections,
map< string, Point > &  centre 
)
staticprotected

Definition at line 264 of file rotateImage.cpp.

map< string, Point > rotateImage::getProjectedCorners ( Size &  s,
double  h,
double  degree,
double  angle 
)
staticprotected

Definition at line 128 of file rotateImage.cpp.

double rotateImage::radianToDegree ( double  radian)
staticprotected

Definition at line 59 of file rotateImage.cpp.

void rotateImage::rotate_image ( Mat &  src,
Mat &  dst,
const double  degree 
)
static

Main function

Definition at line 322 of file rotateImage.cpp.

map< string, int > rotateImage::rotationExtraMargins ( Size &  original,
Size &  newSize 
)
staticprotected

Definition at line 93 of file rotateImage.cpp.

Size rotateImage::rotationNewCanvasSize ( double  degree,
double  angle,
double  h 
)
staticprotected

Definition at line 63 of file rotateImage.cpp.

double rotateImage::round ( double  number)
staticprotected

Definition at line 51 of file rotateImage.cpp.

double rotateImage::solveEquationX ( Equ  e,
double  y 
)
staticprotected

Definition at line 85 of file rotateImage.cpp.

double rotateImage::solveEquationY ( Equ  e,
double  x 
)
staticprotected

Definition at line 76 of file rotateImage.cpp.


The documentation for this class was generated from the following files:


arrow_detection
Author(s): César Sousa
autogenerated on Mon Mar 2 2015 01:31:21