-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathLeastSquareMatch.h
executable file
·31 lines (24 loc) · 1.19 KB
/
LeastSquareMatch.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// LeastSquareMatch.h: interface for the CLeastSquareMatch class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_LEASTSQUAREMATCH_H__14F2E98E_05D1_47C9_91C6_CB6F2E81EED8__INCLUDED_)
#define AFX_LEASTSQUAREMATCH_H__14F2E98E_05D1_47C9_91C6_CB6F2E81EED8__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "Kernel.h"
class CLeastSquareMatch
{
public:
CLeastSquareMatch();
virtual ~CLeastSquareMatch();
HRESULT SinglePtMatch(BYTE* pG,int nGRows,int nGCols,CImage* pG2Image,double x0,double y0,double* px2,double* py2,double* pCoef);
protected:
void dnrml (double* aa,int n,double bb,double* a,double* b);
void pnrml(double *aa, int n, double bb, double *a, double *b, double p);
void dsolve (double* a,double* b,double* x,int n,int wide);
void dldltban1 (double* a,double* d,double* l,int n,int wide);
void dldltban2 (double* l,double* d,double* b,double* x,int n,int wide);
BOOL Pyramid(BYTE* pSrcImage,int nSrcRows,int nSrcCols,UINT nDataType,int nPrdLayer,BYTE** ppDstImage,int* pnDstRows,int* pnDstCols);
};
#endif // !defined(AFX_LEASTSQUAREMATCH_H__14F2E98E_05D1_47C9_91C6_CB6F2E81EED8__INCLUDED_)