ofxPiMapper fixed for C++17 & oF 12.0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

23 lines
547 B

/*
* ofxHomographyHelper.cpp
* Created by Elliot Woods on 26/11/2010.
*
* Based entirely on arturo castro's homography implementation
* Created 08/01/2010, arturo castro
*
* http://www.openframeworks.cc/forum/viewtopic.php?f=9&t=3121
*/
#pragma once
#include "ofMatrix4x4.h"
class ofxHomographyHelper
{
public:
static void gaussian_elimination(float *input, int n);
static void findHomography(float src[4][2], float dst[4][2], float homography[16]);
static ofMatrix4x4 findHomography(float src[4][2], float dst[4][2]);
};