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

📄 vlobject.h

📁 hough变换的代码
💻 H
字号:
// 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -