⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 kmathematica.h

📁 这是前段时间自己写的一个给两个摄像机定标的对话框程序
💻 H
字号:
// KMathematica.h: interface for the KMathematica class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_KMATHEMATICA_H__BD1D45DE_344E_4D3E_A348_80A030F4D9DA__INCLUDED_)
#define AFX_KMATHEMATICA_H__BD1D45DE_344E_4D3E_A348_80A030F4D9DA__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "cv.h"  // include core library interface
#include "highgui.h" // include GUI library interface
#include "KBasicStructures.h"
#include "math.h"

#define PI 3.14159265358979

typedef KBasicStructures::CPoint_d CPoint_d;

class KMathematica  
{
public:
	static int Modulus(int n, int m);
	static int ** CombinationMatrix( int *arr, int n, int m );
	static double MapAnglePi2mPi( double theta );
	static CvPoint2D32f FindCenterofMass(CvPoint2D32f* points, int n);
	static double FindOrientation(CvPoint2D32f* points, int n);
	static long Combination(int n, int m);
	static long Permutation(int n, int m);
	
	static int Place(int number, int* arr, int n);
	
	static int * Sort(int *arr, int n);
	
	static long Factorial(int n);
	static int ** PermutationMatrix(int *arr, int n);
	
	KMathematica();
	virtual ~KMathematica();

};

#endif // !defined(AFX_KMATHEMATICA_H__BD1D45DE_344E_4D3E_A348_80A030F4D9DA__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -