资源简介
hough变换 检测平行线
并有图片的显示功能
还有图片的一个类ImageDib
代码片段和文件信息
// DectRect.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “DectRect.h“
#include “DectRectDlg.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CDectRectApp
BEGIN_MESSAGE_MAP(CDectRectApp CWinApp)
//{{AFX_MSG_MAP(CDectRectApp)
// NOTE - the ClassWizard will add and remove mapping macros here.
// DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG
ON_COMMAND(ID_HELP CWinApp::onhelp)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CDectRectApp construction
CDectRectApp::CDectRectApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CDectRectApp object
CDectRectApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CDectRectApp initialization
BOOL CDectRectApp::InitInstance()
{
AfxEnableControlContainer();
// Standard initialization
// If you are not using these features and wish to reduce the size
// of your final executable you should remove from the following
// the specific initialization routines you do not need.
#ifdef _AFXDLL
Enable3dControls(); // Call this when using MFC in a shared DLL
#else
Enable3dControlsStatic(); // Call this when linking to MFC statically
#endif
CDectRectDlg dlg;
m_pMainWnd = &dlg;
int nResponse = dlg.DoModal();
if (nResponse == IDOK)
{
// TODO: Place code here to handle when the dialog is
// dismissed with OK
}
else if (nResponse == IDCANCEL)
{
// TODO: Place code here to handle when the dialog is
// dismissed with Cancel
}
// Since the dialog has been closed return FALSE so that we exit the
// application rather than start the application‘s message pump.
return FALSE;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 5366784 2012-03-02 16:22 DectRect\Debug\DectRect.bsc
文件 114744 2012-03-02 16:22 DectRect\Debug\DectRect.exe
文件 373768 2012-03-02 16:22 DectRect\Debug\DectRect.ilk
文件 37528 2012-03-02 15:56 DectRect\Debug\DectRect.obj
文件 6479412 2012-02-29 21:00 DectRect\Debug\DectRect.pch
文件 459776 2012-03-02 16:22 DectRect\Debug\DectRect.pdb
文件 2684 2012-03-02 15:52 DectRect\Debug\DectRect.res
文件 0 2012-03-02 15:56 DectRect\Debug\DectRect.sbr
文件 61178 2012-03-02 16:22 DectRect\Debug\DectRectDlg.obj
文件 0 2012-03-02 16:22 DectRect\Debug\DectRectDlg.sbr
文件 27373 2012-02-29 17:00 DectRect\Debug\ImageDib.obj
文件 0 2012-02-29 17:00 DectRect\Debug\ImageDib.sbr
文件 11417 2012-02-29 17:00 DectRect\Debug\StdAfx.obj
文件 0 2012-02-29 17:00 DectRect\Debug\StdAfx.sbr
文件 222208 2012-03-02 16:23 DectRect\Debug\vc60.idb
文件 372736 2012-03-02 16:22 DectRect\Debug\vc60.pdb
文件 35716 2012-03-02 15:38 DectRect\DectRect.aps
文件 1308 2012-03-05 22:37 DectRect\DectRect.clw
文件 2091 2012-02-29 10:33 DectRect\DectRect.cpp
文件 4875 2012-02-29 21:56 DectRect\DectRect.dsp
文件 541 2012-02-29 10:33 DectRect\DectRect.dsw
文件 1346 2012-02-29 10:33 DectRect\DectRect.h
文件 66560 2012-03-05 22:37 DectRect\DectRect.ncb
文件 49664 2012-03-05 22:37 DectRect\DectRect.opt
文件 1577 2012-03-02 16:22 DectRect\DectRect.plg
文件 5528 2012-03-02 15:38 DectRect\DectRect.rc
文件 8481 2012-03-02 16:39 DectRect\DectRectDlg.cpp
文件 1734 2012-03-02 15:56 DectRect\DectRectDlg.h
文件 542 2012-02-29 10:35 DectRect\IamgeDib.cpp
文件 506 2012-02-29 10:35 DectRect\IamgeDib.h
............此处省略14个文件信息
评论
共有 条评论