資源簡介
C++實現(xiàn)灰度圖像的邊緣檢測、提取及輪廓跟蹤;包括Roberts算子、Sobel算子、Prewitt算子、Krisch算子;hough變換;輪廓提取;種子填充。(bmp灰度圖片),vc6.0運行無誤

代碼片段和文件信息
//?ChildFrm.cpp?:?implementation?of?the?CChildframe?class
//
#include?“stdafx.h“
#include?“EdgeContour.h“
#include?“ChildFrm.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CChildframe
IMPLEMENT_DYNCREATE(CChildframe?CMDIChildWnd)
BEGIN_MESSAGE_MAP(CChildframe?CMDIChildWnd)
//{{AFX_MSG_MAP(CChildframe)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code?!
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
//?CChildframe?construction/destruction
CChildframe::CChildframe()
{
//?TODO:?add?member?initialization?code?here
}
CChildframe::~CChildframe()
{
}
BOOL?CChildframe::PreCreateWindow(CREATESTRUCT&?cs)
{
//?TODO:?Modify?the?Window?class?or?styles?here?by?modifying
//??the?CREATESTRUCT?cs
if(?!CMDIChildWnd::PreCreateWindow(cs)?)
return?FALSE;
return?TRUE;
}
/////////////////////////////////////////////////////////////////////////////
//?CChildframe?diagnostics
#ifdef?_DEBUG
void?CChildframe::AssertValid()?const
{
CMDIChildWnd::AssertValid();
}
void?CChildframe::Dump(CDumpContext&?dc)?const
{
CMDIChildWnd::Dump(dc);
}
#endif?//_DEBUG
/////////////////////////////////////////////////////////////////////////////
//?CChildframe?message?handlers
void?CChildframe::Activateframe(int?nCmdShow)?
{
//?TODO:?Add?your?specialized?code?here?and/or?call?the?base?class
nCmdShow?=?SW_SHOWMAXIMIZED;
CMDIChildWnd::Activateframe(nCmdShow);
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2015-08-19?17:12??圖像邊緣檢測\
?????目錄???????????0??2015-08-19?17:12??圖像邊緣檢測\EdgeContour\
?????文件????????1738??2006-05-29?17:09??圖像邊緣檢測\EdgeContour\ChildFrm.cpp
?????文件????????1456??2006-05-29?17:09??圖像邊緣檢測\EdgeContour\ChildFrm.h
?????文件??????141111??2006-05-29?17:09??圖像邊緣檢測\EdgeContour\DibImage.cpp
?????文件????????5856??2006-05-29?17:09??圖像邊緣檢測\EdgeContour\DibImage.h
?????文件???????31216??2006-05-29?17:09??圖像邊緣檢測\EdgeContour\EdgeContour.aps
?????文件????????4574??2006-05-29?17:09??圖像邊緣檢測\EdgeContour\EdgeContour.cpp
?????文件????????4916??2006-05-29?17:09??圖像邊緣檢測\EdgeContour\EdgeContour.dsp
?????文件?????????547??2006-05-29?17:09??圖像邊緣檢測\EdgeContour\EdgeContour.dsw
?????文件????????1411??2006-05-29?17:09??圖像邊緣檢測\EdgeContour\EdgeContour.h
?????文件??????107520??2006-05-29?17:09??圖像邊緣檢測\EdgeContour\EdgeContour.ncb
?????文件???????54784??2006-05-29?17:09??圖像邊緣檢測\EdgeContour\EdgeContour.opt
?????文件????????2436??2006-05-29?17:09??圖像邊緣檢測\EdgeContour\EdgeContour.plg
?????文件???????14290??2006-05-29?17:09??圖像邊緣檢測\EdgeContour\EdgeContour.rc
?????文件????????7168??2006-05-29?17:09??圖像邊緣檢測\EdgeContour\EdgeContourDoc.cpp
?????文件????????1939??2006-05-29?17:09??圖像邊緣檢測\EdgeContour\EdgeContourDoc.h
?????文件???????19444??2006-05-29?17:09??圖像邊緣檢測\EdgeContour\EdgeContourView.cpp
?????文件????????2662??2006-05-29?17:09??圖像邊緣檢測\EdgeContour\EdgeContourView.h
?????文件????????2528??2006-05-29?17:09??圖像邊緣檢測\EdgeContour\MainFrm.cpp
?????文件????????1542??2006-05-29?17:09??圖像邊緣檢測\EdgeContour\MainFrm.h
?????文件????????4901??2006-05-29?17:09??圖像邊緣檢測\EdgeContour\ReadMe.txt
?????文件????????1115??2006-05-29?17:09??圖像邊緣檢測\EdgeContour\Resource.h
?????文件?????????213??2006-05-29?17:09??圖像邊緣檢測\EdgeContour\StdAfx.cpp
?????文件????????1054??2006-05-29?17:09??圖像邊緣檢測\EdgeContour\StdAfx.h
?????目錄???????????0??2015-08-19?17:12??圖像邊緣檢測\EdgeContour\res\
?????文件????????1078??2006-05-29?17:09??圖像邊緣檢測\EdgeContour\res\EdgeContour.ico
?????文件?????????403??2006-05-29?17:09??圖像邊緣檢測\EdgeContour\res\EdgeContour.rc2
?????文件????????1078??2006-05-29?17:09??圖像邊緣檢測\EdgeContour\res\EdgeContourDoc.ico
?????文件????????1078??2006-05-29?17:09??圖像邊緣檢測\EdgeContour\res\Toolbar.bmp
- 上一篇:復合形法C語言程序
- 下一篇:電腦配件銷售系統(tǒng)
評論
共有 條評論