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

📄 loadfunction.cpp

📁 哥们图像增强技术的毕业设计
💻 CPP
字号:
// LoadFunction.cpp : implementation file
//

#include "stdafx.h"
#include "图像增强技术.h"
#include "LoadFunction.h"


#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CLoadFunction

IMPLEMENT_DYNCREATE(CLoadFunction, CDocument)

CLoadFunction::CLoadFunction()
{
}

BOOL CLoadFunction::OnNewDocument()
{
	if (!CDocument::OnNewDocument())
		return FALSE;
	return TRUE;
}

CLoadFunction::~CLoadFunction()
{
}


BEGIN_MESSAGE_MAP(CLoadFunction, CDocument)
	//{{AFX_MSG_MAP(CLoadFunction)
		// NOTE - the ClassWizard will add and remove mapping macros here.
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CLoadFunction diagnostics

#ifdef _DEBUG
void CLoadFunction::AssertValid() const
{
	CDocument::AssertValid();
}

void CLoadFunction::Dump(CDumpContext& dc) const
{
	CDocument::Dump(dc);
}
#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// CLoadFunction serialization

void CLoadFunction::Serialize(CArchive& ar)
{
	if (ar.IsStoring())
	{
		// TODO: add storing code here
	}
	else
	{
		// TODO: add loading code here
	}
}

/////////////////////////////////////////////////////////////////////////////
// CLoadFunction commands

/********************************************************************
*
*函数名称:
*    Template()
*
*参数:
*  LPSTR  lpDIBBits      —指向原DIB图像指针
*  LONG   lWidth         —原图像宽度(像素数)
*  LONG   lHeight        —原图像高度(像素数)
*  int    iTempH         —模板的高度
*  int    iTempW         —模板的宽度
*  int    iTempMX        —模板中心元素X坐标
*  int    iTempMy        —模板中心元素Y坐标 
*  FLOAT* fpArray        —指向模板数组的指针
*  FLOAT  fCoef          —模板系数
*
*返回值:
*    BOOL                —成功返回TRUE,否则返回FALSE
*
*说明:
*    该函数用指定的模板(任意大小)来对图像进行操作。
*******************************************************************/





⌨️ 快捷键说明

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