guesswidth.h
来自「这是一款蛮COOL的图像处理系统」· C头文件 代码 · 共 44 行
H
44 行
// 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 + =
减小字号Ctrl + -
显示快捷键?