pixelpoint.cpp

来自「基于背景差分算法和C均值聚类算法的车辆检测与跟踪」· C++ 代码 · 共 34 行

CPP
34
字号
// PixelPoint.cpp: implementation of the CPixelPoint class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "DetectAndTrack.h"
#include "PixelPoint.h"

#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

CPixelPoint::CPixelPoint()
{
	m_nNumOfClass=-1;
}

CPixelPoint::~CPixelPoint()
{

}

CPixelPoint::CPixelPoint(int nXCoordinate,int nYCoordinate,int nNumOfClass)
{
	m_nXCoordinate=nXCoordinate;
	m_nYCoordinate=nYCoordinate;
	m_nNumOfClass=nNumOfClass;
}

⌨️ 快捷键说明

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