?? opencv用戶手冊(cè)之圖像處理部分(之三):形態(tài)學(xué)操作(中文翻譯) - hunnish的opencv專欄.htm
字號(hào):
?<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0058)http://blog.csdn.net/hunnish/archive/2004/09/06/95532.aspx -->
<HTML><HEAD><TITLE>HUNNISH的OPENCV專欄</TITLE>
<META content="MSHTML 6.00.2900.2180" name=GENERATOR>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<SCRIPT
src="OPENCV用戶手冊(cè)之圖像處理部分(之三):形態(tài)學(xué)操作(中文翻譯) - HUNNISH的OPENCV專欄.files/jsframework.js"
type=text/javascript></SCRIPT>
<LINK media=all
href="OPENCV用戶手冊(cè)之圖像處理部分(之三):形態(tài)學(xué)操作(中文翻譯) - HUNNISH的OPENCV專欄.files/style.css"
type=text/css rel=stylesheet><LINK media=print
href="OPENCV用戶手冊(cè)之圖像處理部分(之三):形態(tài)學(xué)操作(中文翻譯) - HUNNISH的OPENCV專欄.files/print.css"
type=text/css rel=stylesheet><LINK title=RSS
href="http://blog.csdn.net/hunnish/rss.aspx" type=application/rss+xml
rel=alternate></HEAD>
<BODY>
<SCRIPT language=javascript>
<!--
function getObject(objectId)
{
if(document.getElementById)
{
return document.getElementById(objectId)
}
else if(document.all&&document.all(objectId))
{
return document.all(objectId)
}
else
{
return false
}
}
function hideObject(objectId)
{
var obj=getObject(objectId);
if(obj&&obj.style)
{
obj.style.display="none";
return true
}
return false
}
function showObject(objectId)
{
var obj=getObject(objectId);
if(obj&&obj.style)
{
obj.style.display="";
return true
}
return false
}
function hideComment(){
hideObject("commentForm");
hideObject("commentform");
return;
}
function showComment(){
return;
}
//-->
</SCRIPT>
<FORM language=javascript id=Form1 name=Form1
onsubmit="if (!ValidatorOnSubmit()) return false;" action=95532.aspx
method=post><INPUT type=hidden name=__VIEWSTATE>
<SCRIPT language=javascript
src="OPENCV用戶手冊(cè)之圖像處理部分(之三):形態(tài)學(xué)操作(中文翻譯) - HUNNISH的OPENCV專欄.files/WebUIValidation.js"
type=text/javascript></SCRIPT>
<DIV id=top>
<DIV>
<TABLE>
<TBODY>
<TR>
<TD class=HeaderTitles>
<H1><A class=headermaintitle id=Header1_HeaderTitle
href="http://blog.csdn.net/hunnish/">HUNNISH的OPENCV專欄</A></H1>
<P id=tagline>OpenCV、計(jì)算機(jī)視覺(jué)、模式識(shí)別和圖像處理的愛(ài)好者</P></TD></TR></TBODY></TABLE></DIV>
<DIV class=HeaderBar>
<TABLE class=HeaderBar id=HeaderBar>
<TBODY>
<TR>
<TD class=HeaderBarTab noWrap> <A id=Header1_MyLinks1_HomeLink
title=到聚合站點(diǎn) href="http://blog.csdn.net/">CSDNBlog</A> |
<A id=Header1_MyLinks1_PersonalHome title="訪問(wèn) HUNNISH的OPENCV專欄"
href="http://blog.csdn.net/hunnish/">我的首頁(yè)</A> | <A
id=Header1_MyLinks1_ContactLink accessKey=9
href="http://blog.csdn.net/hunnish/contact.aspx">聯(lián)系作者</A> |
<A id=Header1_MyLinks1_Syndication
href="http://blog.csdn.net/hunnish/Rss.aspx">聚合</A> <A class=XMLLink
id=Header1_MyLinks1_XMLLink
href="http://blog.csdn.net/hunnish/Rss.aspx"><IMG alt=""
src="OPENCV用戶手冊(cè)之圖像處理部分(之三):形態(tài)學(xué)操作(中文翻譯) - HUNNISH的OPENCV專欄.files/xml.gif"
border=0></A> | <A id=Header1_MyLinks1_Admin
href="http://writeblog.csdn.net/editposts.aspx">登錄</A> <IMG
id=Header1_BlueTab alt=""
src="OPENCV用戶手冊(cè)之圖像處理部分(之三):形態(tài)學(xué)操作(中文翻譯) - HUNNISH的OPENCV專欄.files/BlueTabRight.jpg"
align=absMiddle border=0> </TD>
<TD class=HeaderBarTabBack noWrap width="100%">
<DIV class=BlogStatsBar>
<TABLE class=BlogStatsBar>
<TBODY>
<TR>
<TD width="100%"></TD>
<TD class=BlogStatsBar noWrap> 25篇原創(chuàng):: 9篇翻譯:: 0篇轉(zhuǎn)載::
73441次點(diǎn)擊:: 141個(gè)評(píng)論:: 2個(gè)Trackbacks
</TD></TR></TBODY></TABLE></DIV></TD></TR></TBODY></TABLE></DIV></DIV>
<DIV id=leftmenu>
<H3>公告</H3>
<P>歡迎交流 OPENCV 以及相關(guān)技術(shù)</P>
<P>NickName: Hunnish</P>
<P>qq:30168537</P><BR>
<SCRIPT language=JavaScript src=""></SCRIPT>
<A title=用狗狗訂閱
href="http://www.gougou.com/sub/http://blog.csdn.net/hunnish/rss.aspx"
target=_blank><IMG
src="OPENCV用戶手冊(cè)之圖像處理部分(之三):形態(tài)學(xué)操作(中文翻譯) - HUNNISH的OPENCV專欄.files/375618C3346766846DF9E4CFA9659733233A56E4.png"
border=0></A>
<H3 class=listtitle>文章</H3>
<UL class=list>
<LI class=listitem><A
href="http://blog.csdn.net/hunnish/category/59563.aspx">OPENCV</A><A
href="http://blog.csdn.net/hunnish/category/59563.aspx/rss">(RSS)</A>
<LI class=listitem><A
href="http://blog.csdn.net/hunnish/category/39744.aspx">翻譯</A><A
href="http://blog.csdn.net/hunnish/category/39744.aspx/rss">(RSS)</A>
<LI class=listitem><A
href="http://blog.csdn.net/hunnish/category/59567.aspx">模式識(shí)別與圖像處理</A><A
href="http://blog.csdn.net/hunnish/category/59567.aspx/rss">(RSS)</A>
<LI class=listitem><A
href="http://blog.csdn.net/hunnish/category/59566.aspx">數(shù)字水印與信息隱藏</A><A
href="http://blog.csdn.net/hunnish/category/59566.aspx/rss">(RSS)</A>
<LI class=listitem><A
href="http://blog.csdn.net/hunnish/category/59565.aspx">數(shù)字印章與加密</A><A
href="http://blog.csdn.net/hunnish/category/59565.aspx/rss">(RSS)</A></LI></UL>
<H3 class=listtitle>收藏</H3>
<UL class=list></UL>
<H3 class=listtitle>相冊(cè)</H3><!--category title-->
<UL class=list></UL>
<H3 class=listtitle>=我的鏈接=</H3>
<UL class=list>
<LI class=listitem><A
href="http://www.assuredigit.com/forum/display_forum_topics.asp?ForumID=11"
target=_self>OPENCV 論壇</A>
<LI class=listitem><A href="http://www.dhruvaraj.com/main.htm"
target=_self>一個(gè)電子圖書(shū)站點(diǎn)</A>
<LI class=listitem><A href="http://citeseer.ist.psu.edu/cs"
target=_self>論文搜索網(wǎng)址CITESEER</A>
<LI class=listitem><A href="http://www.assuredigit.com/" target=_self>阿須數(shù)碼</A>
<LI class=listitem><A href="http://forum.assuredigit.com/"
target=_self>阿須論壇</A></LI></UL>
<H3 class=listtitle>存檔</H3>
<UL class=list>
<LI><A
href="http://blog.csdn.net/hunnish/archive/2005/02.aspx">2005年02月(2)</A>
<LI><A
href="http://blog.csdn.net/hunnish/archive/2004/12.aspx">2004年12月(1)</A>
<LI><A
href="http://blog.csdn.net/hunnish/archive/2004/11.aspx">2004年11月(1)</A>
<LI><A
href="http://blog.csdn.net/hunnish/archive/2004/10.aspx">2004年10月(9)</A>
<LI><A
href="http://blog.csdn.net/hunnish/archive/2004/09.aspx">2004年09月(14)</A>
<LI><A
href="http://blog.csdn.net/hunnish/archive/2004/08.aspx">2004年08月(4)</A>
<LI><A
href="http://blog.csdn.net/hunnish/archive/2003/07.aspx">2003年07月(1)</A>
<LI><A
href="http://blog.csdn.net/hunnish/archive/2003/06.aspx">2003年06月(2)</A></LI></UL>
<H3 class=listtitle>最近評(píng)論</H3>
<UL class=list>
<LI class=listitem>Angus:<A title="點(diǎn)擊查看《運(yùn)動(dòng)目標(biāo)跟蹤與檢測(cè)的源代碼(CAMSHIFT 算法)》"
href="http://blog.csdn.net/hunnish/archive/2004/09/07/97049.aspx">有問(wèn)題啊!運(yùn)行的時(shí)候,出現(xiàn)error
<BR>d:\camshift face track\ft.cpp(122) : error C2664: 'cvSetMouseCallback' :
cannot convert parameter 2 from 'void (int,int,int,int)' to 'void (__cdecl
*)(int,int,int,int,void *)……</A>
<LI class=listitem>adsd:<A title=點(diǎn)擊查看《人臉檢測(cè)的C/C++源代碼》
href="http://blog.csdn.net/hunnish/archive/2004/09/02/92039.aspx">OpenCV,
錯(cuò)誤真他嗎多,垃圾</A>
<LI class=listitem>icewindarrow:<A title=點(diǎn)擊查看《數(shù)字圖像的直方圖均衡化(C/C++源代碼)》
href="http://blog.csdn.net/hunnish/archive/2004/10/14/136003.aspx">請(qǐng)問(wèn)怎么解決的!!!!!!</A>
<LI class=listitem>庚壬辛癸申酉:<A title=點(diǎn)擊查看《基于隱馬爾可夫模型的人臉識(shí)別C/C++源代碼》
href="http://blog.csdn.net/hunnish/archive/2004/09/16/106240.aspx">哪個(gè)群,搜索失敗呀</A>
<LI class=listitem>asking:<A title=點(diǎn)擊查看《祝新年好!》
href="http://blog.csdn.net/hunnish/archive/2004/12/31/235895.aspx">期待您新的文章</A></LI></UL><BR><BR></DIV>
<DIV id=main>
<SCRIPT>function StorePage(){d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.365key.com/storeit.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'keyit','scrollbars=no,width=475,height=575,left=75,top=20,status=no,resizable=yes'));keyit.focus();}</SCRIPT>
<DIV class=post>
<DIV class=postTitle><A
href="http://blog.csdn.net/hunnish/archive/2004/09/06/95532.aspx"><IMG height=13
src="OPENCV用戶手冊(cè)之圖像處理部分(之三):形態(tài)學(xué)操作(中文翻譯) - HUNNISH的OPENCV專欄.files/trans.gif"
width=15 border=0> OPENCV用戶手冊(cè)之圖像處理部分(之三):形態(tài)學(xué)操作(中文翻譯) </A>
<SCRIPT language=javascript>document.title="OPENCV用戶手冊(cè)之圖像處理部分(之三):形態(tài)學(xué)操作(中文翻譯) - "+document.title</SCRIPT>
</DIV>
<DIV class=postText>
<H2><A name=cv_imgproc_morphology>形態(tài)學(xué)操作</A></H2>
<P><A href="http://blog.csdn.net/hunnish">HUNNISH</A> 注:</P>
<P>本翻譯是直接根據(jù) OpenCV Beta 4.0
版本的用戶手冊(cè)翻譯的,原文件是:<opencv_directory>/doc/ref/opencvref_cv.htm, 可以從
SOURCEFORG 上面的 OpenCV 項(xiàng)目下載,也可以直接從 <A href="http://www.assuredigit.com/">阿須數(shù)碼</A>
中下載:<A
href="http://www.assuredigit.com/incoming/sourcecode/opencv/chinese_docs/ref/opencvref_cv.htm">http://www.assuredigit.com/incoming/sourcecode/opencv/chinese_docs/ref/opencvref_cv.htm</A>。</P>
<P>翻譯中肯定有不少錯(cuò)誤,另外也有些術(shù)語(yǔ)和原文語(yǔ)義理解不透導(dǎo)致翻譯不準(zhǔn)確或者錯(cuò)誤,也請(qǐng)有心人賜教。翻譯這些英文參考手冊(cè)的目的是想與國(guó)內(nèi) OPENCV
的愛(ài)好者一起提高 OPENCV 在計(jì)算機(jī)視覺(jué)、模式識(shí)別和圖像處理方面的實(shí)際應(yīng)用水平。</P>
<HR>
<H3><A
name=decl_cvCreateStructuringElementEx>CreateStructuringElementEx</A></H3>
<P class=Blurb><SPAN
style="FONT-FAMILY: 宋體; mso-ascii-font-family: Helvetica; mso-hansi-font-family: Helvetica">創(chuàng)建結(jié)構(gòu)元素</SPAN></P><PRE>IplConvKernel* cvCreateStructuringElementEx( int cols, int rows, int anchor_x, int anchor_y,
int shape, int* values=NULL );
</PRE>
<P>
<DL>
<DT>cols
<DD>結(jié)構(gòu)元素的列數(shù)目
<DT>rows
<DD>結(jié)構(gòu)元素的行數(shù)目
<DT>anchor_x
<DD>錨點(diǎn)的相對(duì)水平偏移量
<DT>anchor_y
<DD>錨點(diǎn)的相對(duì)垂直便宜量
<DT>shape
<DD>結(jié)構(gòu)元素的形狀,可以是下列值:
<UL>
<LI><CODE>CV_SHAPE_RECT</CODE>, 長(zhǎng)方形元素;
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -