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

📄 blob.h

📁 segmentation sample good luck
💻 H
字号:
// Blob.h: interface for the CBlob class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_BLOB_H__1C64D0E1_5906_11D1_91FE_843B0AC10000__INCLUDED_)
#define AFX_BLOB_H__1C64D0E1_5906_11D1_91FE_843B0AC10000__INCLUDED_

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

class CLine;

class CBlob  
{
public:
	int GetDIBRasterWidth();
	int GetDIBSize();
	CPoint CQTLocation();
	double MatchBlobs(CBlob &blobOther);
	int GetArea() const;
	CPoint GetCentroid();
	BOOL PtInBlob(const CPoint &);
	void GetRect(CRect &cr);
	 CBlob();
	int m_nOpenLines;
	CLine ** m_ppLastLine;
	CLine * m_pFirstLine;
	int m_nLoops;
	void Merge(CBlob *pBlobOther);
	void GetDIB(BITMAPINFOHEADER &bmih,void *pBits);
protected:
	CRect m_cr;
};

#endif // !defined(AFX_BLOB_H__1C64D0E1_5906_11D1_91FE_843B0AC10000__INCLUDED_)

⌨️ 快捷键说明

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