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

📄 guesswidth.h

📁 这是一款蛮COOL的图像处理系统
💻 H
字号:
// WidthCor.h: interface for the CGuessWidth class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_GUESSWIDTH_H__C771B87C_1384_456C_9009_98770CB89D70__INCLUDED_)
#define AFX_GUESSWIDTH_H__C771B87C_1384_456C_9009_98770CB89D70__INCLUDED_

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


//#define  MINWIDTH 1000
//#define  MAXWIDTH 25889

class CGuessWidth  
{
public:
//	DWORD m_iMinWidth;
//	DWORD m_iMaxWidth;

//	DWORD m_iWidth;
//	DWORD m_iHeight;

public:
	CGuessWidth();
	virtual ~CGuessWidth();

	double WidthDetect(DWORD &iWidth,DWORD &iHeight,LPCTSTR lpszFile, short iBytes, DWORD wHeaderSize = 0);

protected:
	double CPXDetect(DWORD &iWidth,DWORD &iHeight,LPCTSTR lpszFile);
	template <class T> double FindWidth(DWORD &iWidth,DWORD &iHeight,LPCTSTR lpszFile,T iDepth, DWORD wHeaderSize = 0);
//	double FindWidth(DWORD &iWidth,DWORD &iHeight,LPCTSTR lpszFile,BYTE iDepth);
	
//	double FindWidth(DWORD &iWidth,DWORD &iHeight,LPCTSTR lpszFile,BYTE iDepth);
//	template <class T> double Correlate(const T *row1,const T *row2,DWORD width);

	CGuessWidth(const CGuessWidth&);
	CGuessWidth& operator=(const CGuessWidth&);
};

#endif // !defined(AFX_GUESSWIDTH_H__C771B87C_1384_456C_9009_98770CB89D70__INCLUDED_)

⌨️ 快捷键说明

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