fixed slow down in getRectSubPix (original patch by Markus JR Mueller); removed some unused variables and functions

This commit is contained in:
Vadim Pisarevsky
2014-04-08 17:54:08 +04:00
parent a6ef45aa13
commit 1b339eb0d4
6 changed files with 3 additions and 35 deletions
-3
View File
@@ -52,9 +52,6 @@ using namespace std;
#define sign(a) a > 0 ? 1 : a == 0 ? 0 : -1
const int FLOAT_TYPE [2] = {CV_32F, CV_64F};
const int INT_TYPE [5] = {CV_8U, CV_8S, CV_16U, CV_16S, CV_32S};
#define MAX_WIDTH 100
#define MAX_HEIGHT 100