vlobject.h

来自「hough变换的代码」· C头文件 代码 · 共 56 行

H
56
字号
// vlObject.h: interface for the CvlObject class.
//
//////////////////////////////////////////////////////////////////////
#ifndef HEAD_H
#define HEAD_H
#include "head.h"
#endif

#if !defined(AFX_VLOBJECT_H__21E30F35_C6E6_4AD2_909B_F43070482ACF__INCLUDED_)
#define AFX_VLOBJECT_H__21E30F35_C6E6_4AD2_909B_F43070482ACF__INCLUDED_

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

class CvlObject  
{
public:
	int defined;	/* the flag judges if the object is defined */

	/*
	 *	the attribute of the object
	 */
	int width;	/* the width of object(the width of the smallest circumrectangle) */
	int height; /* the height of object(the height of the smallest circumrectangle) */
	int x,y;	/* the coordinate of the top-left corner of the circumrectangle */

	/*
	 *	the limit of the object's color
	 */
	vlImageFormat format;

	/* the range of the RGB */
	vlPixel r_max,r_min;
	vlPixel g_max,g_min;
	vlPixel b_max,b_min;

	/* the range of the HSI */
	vlPixel h_max, h_min;
	vlPixel s_max, s_min;
	vlPixel i_max, i_min;

	/*
	 * shape data. 
     */
	int *x_offset;
	int *x_length;
	
public:
	CvlObject();
	virtual ~CvlObject();

};

#endif // !defined(AFX_VLOBJECT_H__21E30F35_C6E6_4AD2_909B_F43070482ACF__INCLUDED_)

⌨️ 快捷键说明

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