Vision Touch Surface Library
Main Page
Related Pages
Classes
Files
File List
All
Classes
Files
Functions
Variables
Pages
visionTouchSurfaceLib
vts_sensors
include
leapmapping.h
Go to the documentation of this file.
1
#ifndef LEAPMAPPING_H
2
#define LEAPMAPPING_H
3
4
#include "opencv2/highgui/highgui.hpp"
5
#include <opencv2/opencv.hpp>
6
#include <iostream>
7
8
using namespace
std;
9
using namespace
cv;
10
11
12
class
LeapMapping
13
{
14
public
:
15
LeapMapping
();
16
LeapMapping
(
int
widthPx,
int
heightPx,
float
widthMM,
float
heightMM );
17
virtual
void
calculateMapping(
const
Point &translationVecPx);
18
virtual
void
mapPoints(vector<Point> &points, vector<Point> &mappedPoints);
19
virtual
void
mapPoints(Point &point, Point &mappedPoint);
20
//virtual void warpMatrix(Mat &matrix, Mat &warpedMatrix, Size &warpedSize);
21
22
23
protected
:
24
float
numPxperMM_width
;
25
float
numPxperMM_height
;
26
Mat
transformationMatrix
;
27
28
};
29
30
#endif // LEAPMAPPING_H
31
Generated on Sat Dec 14 2013 23:25:51 for Vision Touch Surface Library by
1.8.3.1