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

📄 用vc++实现图像检索技术1.htm

📁 VC++实现图像检索技术,VC++实现图像检索技术 a) 采用颜色检索方法的目的, b) 利用颜色直方图进行检索
💻 HTM
📖 第 1 页 / 共 3 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<!-- saved from url=(0038)http://www.yesky.com/466/1649466.shtml -->
<HTML lang=zh-CN xmlns="http://www.w3.org/1999/xhtml"><HEAD><TITLE>用VC++实现图像检索技术</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META http-equiv=Content-Language content=zh-CN>
<META content=all name=robots>
<META content="index, follow" name=googlebot>
<META content="MSHTML 6.00.2800.1586" name=GENERATOR>
<META content="天极Yesky | 全球中文IT第一门户" name=author>
<META content=,用VC++实现图像检索技术 name=description></META>
<META content=,硬件,软件,数码,游戏,e时代,下载,社区,评测,笔记本; name=keywords><LINK media=all 
href="用VC++实现图像检索技术1.files/yesky-content-cs.css" type=text/css 
rel=stylesheet></HEAD>
<BODY><!--头部-->
<DIV class=hidden>yesky内容</DIV><LINK media=all 
href="用VC++实现图像检索技术1.files/y_headlogo0612.css" type=text/css 
rel=stylesheet><LINK media=all href="用VC++实现图像检索技术1.files/headlink0612.css" 
type=text/css rel=stylesheet><!--注册登陆及广告两行开始-->
<DIV class=top_head0607>
<DIV class=left_head0607><IMG src="用VC++实现图像检索技术1.files/ssleft_0608.gif" 
border=0></DIV>
<FORM name=search action=http://search.yesky.com/search.do method=get>
<DIV class=dqbody_head0607><A href="http://my.yesky.com/">用户登录</A> <A 
href="http://passport.yesky.com/customer/agreement.jsp">注册</A>  <B>天极IT搜索</B> 
<INPUT type=hidden value=0 name=stype><INPUT id=searchzz 
onmouseover=this.focus() onfocus=this.select() size=12 name=wd> <INPUT class=searchbtn_head0607 type=submit value="搜 索"><INPUT type=hidden 
value=1 name=categoryIds><INPUT type=hidden value=2 name=categoryIds><INPUT 
type=hidden value=3 name=categoryIds><INPUT type=hidden value=4 
name=categoryIds><INPUT type=hidden value=5 name=categoryIds><INPUT type=hidden 
value=6 name=categoryIds><INPUT type=hidden value=1 name=sortType>   天极网站群:<A 
href="http://www.yesky.com/">Yesky</A> | <A 
href="http://www.chinabyte.com/">ChinaByte</A> | <A 
href="http://www.techtarget.com.cn/">IT专家网</A> | <A 
href="http://www.impresswatch.com.cn/">Impress中文站</A> </DIV></FORM>
<SCRIPT language=JavaScript>var abcurl=document.URL;if(window.location.href.indexOf("big5.yesky.com")!=-1) {var pcurl=abcurl.substring(25);document.write('<div class="jtft_head0607"><a href="' + 'http' + '://'+pcurl+'"><img src="http://www.yesky.com/TLimages/head/img/jianti_0608.gif" alt="简体版" border="0" /></a> <a href="http://rss.yesky.com/"><img src="http://www.yesky.com/TLimages/head/img/ras_0608.gif" alt="RSS订阅" border="0" /></a></div>');} else {var pcurl2=abcurl.substring(7);document.write('<div class="jtft_head0607"><a href="http://big5.yesky.com/b5/'+pcurl2+'"><img src="http://www.yesky.com/TLimages/head/img/fanti_0608.gif" alt="繁体版" border="0" /></a> <a href="http://rss.yesky.com/"><img src="http://www.yesky.com/TLimages/head/img/ras_0608.gif" alt="RSS订阅" border="0" /></a></div>');} </SCRIPT>

<DIV class=right_head0607><IMG src="用VC++实现图像检索技术1.files/ssright_0608.gif" 
border=0></DIV></DIV>
<SCRIPT language=JavaScript>function MM_jumpMenu(targ,selObj,restore){ eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'"); if (restore) selObj.selectedIndex=0;}</SCRIPT>

<DIV class=head_head0607>
<DIV class=logo_head0607><A href="http://www.yesky.com/"><IMG title=天极Yesky 
alt=天极Yesky src="用VC++实现图像检索技术1.files/logo.gif"></A></DIV>
<DIV class=ad_head0607><SPAN id=ad1></SPAN></DIV>
<DIV class=other_head0607>
<DIV class=fzbt_head0607>
<DIV class=left_head0607 style="PADDING-TOP: 4px">天极网分站</DIV>
<DIV class=right_head0607 style="PADDING-TOP: 2px"><SELECT class=fzselect 
onchange='MM_jumpMenu("parent",this,0)' name=form><OPTION value=1 
  selected>更多</OPTION> <OPTION 
value=http://nx.yesky.com/>宁夏站</OPTION></SELECT></DIV></DIV>
<DIV class=fzlj_head0607><A href="http://bj.yesky.com/">北京站</A> <A 
href="http://sh.yesky.com/">上海站</A> <A href="http://gd.yesky.com/">广东站</A><BR><A 
href="http://cq.yesky.com/">重庆站</A> <A href="http://cd.yesky.com/">成都站</A> <A 
href="http://sy.yesky.com/">沈阳站</A></DIV></DIV></DIV><!--注册登陆及广告两行结束--><!--产品及导航两行开始--><!--产品开始-->
<DIV class=pro_head0607>
<DIV class=proleft_head0607><IMG src="用VC++实现图像检索技术1.files/proleft.gif" 
border=0></DIV>
<DIV class=prorightbody_head0607>
<LI><A href="http://notebook.yesky.com/"><IMG alt=笔记本电脑 
src="用VC++实现图像检索技术1.files/cp01.gif" border=0></A><BR><A 
href="http://notebook.yesky.com/">笔记本</A> </LI>
<LI><A href="http://pc.yesky.com/"><IMG alt=台式电脑 
src="用VC++实现图像检索技术1.files/cp02.gif" border=0></A><BR><A 
href="http://pc.yesky.com/">台式机</A> </LI>
<LI><A href="http://mobile.yesky.com/"><IMG alt=手机 
src="用VC++实现图像检索技术1.files/cp03.gif" border=0></A><BR><A 
href="http://mobile.yesky.com/">手机</A> </LI>
<LI 
style="PADDING-RIGHT: 3px; PADDING-LEFT: 4px; PADDING-BOTTOM: 0px; PADDING-TOP: 10px"><IMG 
src="用VC++实现图像检索技术1.files/cpline_0608.gif" border=0> </LI>
<LI><A href="http://diy.yesky.com/"><IMG alt=电脑硬件DIY 
src="用VC++实现图像检索技术1.files/cp08.gif" border=0></A><BR><A 
href="http://diy.yesky.com/"><FONT color=#ff6600>DIY硬件</FONT></A> </LI>
<LI class=prolinkli style="TEXT-ALIGN: left"><A 
href="http://diy.yesky.com/cpu/">CPU</A><BR><A 
href="http://diy.yesky.com/mainboard/">主板</A><BR><A 
href="http://diy.yesky.com/speaker/">音箱</A> </LI>
<LI class=prolinkli><A href="http://diy.yesky.com/harddisk/">硬盘</A><BR><A 
href="http://diy.yesky.com/vga/">显卡</A><BR><A 
href="http://diy.yesky.com/input/">键鼠</A> </LI>
<LI class=prolinkli style="TEXT-ALIGN: left"><A 
href="http://diy.yesky.com/rom/">刻录机</A><BR><A 
href="http://diy.yesky.com/monitor/">显示器</A><BR><A 
href="http://diy.yesky.com/power/">机箱电源</A> </LI>
<LI 
style="PADDING-RIGHT: 4px; PADDING-LEFT: 6px; PADDING-BOTTOM: 0px; PADDING-TOP: 10px"><IMG 
src="用VC++实现图像检索技术1.files/cpline_0608.gif" border=0> </LI>
<LI style="PADDING-TOP: 10px"><A href="http://digital.yesky.com/"><FONT 
color=#ff6600>数<BR>码</FONT></A> </LI>
<LI><A href="http://dc.yesky.com/"><IMG alt=数码相机DC 
src="用VC++实现图像检索技术1.files/cp06.gif" border=0></A><BR><A 
href="http://dc.yesky.com/">数码相机</A> </LI>
<LI><A href="http://mp3.yesky.com/"><IMG alt=MP3播放器 
src="用VC++实现图像检索技术1.files/cp04.gif" border=0></A><BR><A 
href="http://mp3.yesky.com/">MP3</A> </LI>
<LI><A href="http://mp4.yesky.com/"><IMG alt=MP4播放器 
src="用VC++实现图像检索技术1.files/cp05.gif" border=0></A><BR><A 
href="http://mp4.yesky.com/">MP4</A> </LI>
<LI><A href="http://dv.yesky.com/"><IMG alt=数码摄像机DV 
src="用VC++实现图像检索技术1.files/cp07.gif" border=0></A><BR><A 
href="http://dv.yesky.com/">摄像机</A> </LI>
<LI 
style="PADDING-RIGHT: 4px; PADDING-LEFT: 5px; PADDING-BOTTOM: 0px; PADDING-TOP: 10px"><IMG 
src="用VC++实现图像检索技术1.files/cpline_0608.gif" border=0> </LI>
<LI><A href="http://oa.yesky.com/"><IMG alt=电脑外设 
src="用VC++实现图像检索技术1.files/cp09.gif" border=0></A><BR><A 
href="http://oa.yesky.com/">外设</A> </LI>
<LI><A href="http://net.yesky.com/"><IMG alt=网络 
src="用VC++实现图像检索技术1.files/cp10.gif" border=0></A><BR><A 
href="http://net.yesky.com/">网络</A> </LI>
<LI><A href="http://server.chinabyte.com/"><IMG alt=服务器 
src="用VC++实现图像检索技术1.files/cp11.gif" border=0></A><BR><A 
href="http://server.chinabyte.com/">服务器</A> </LI>
<LI><A href="http://dh.yesky.com/"><IMG alt=数字家庭 
src="用VC++实现图像检索技术1.files/cp12.gif" border=0></A><BR><A 
href="http://dh.yesky.com/">数字家庭</A> </LI></DIV>
<DIV class=proright_head0607><IMG src="用VC++实现图像检索技术1.files/proright.gif" 
width=10 border=0></DIV></DIV><!--产品结束--><!--导航开始-->
<DIV class=dh_head0607>
<DIV class=dhbody_head0607><A href="http://product.yesky.com/">查产品</A> <A 
href="http://cseek.yesky.com/">看行情</A> <A 
href="http://www.yesky.com/jxs/">经销商</A> <A 
href="http://price.yesky.com/">导购</A> <A href="http://lab.yesky.com/">评测</A> <A 
href="http://z.yesky.com/">互动杂志</A> | <A href="http://soft.yesky.com/">软件</A> <A 
href="http://design.yesky.com/">设计</A> <A 
href="http://homepage.yesky.com/">网页</A> <A href="http://dev.yesky.com/">开发</A> 
<A href="http://soft.yesky.com/security/">安全</A> <A 
href="http://bbs.yesky.com/">论坛</A> | <A href="http://q.yesky.com/">群乐</A> <A 
href="http://e.yesky.com/">E时代</A> <A href="http://game.yesky.com/">游戏</A> <A 
href="http://pic.yesky.com/">图片</A> <A href="http://desktop.yesky.com/">壁纸</A> 
<A href="http://comic.yesky.com/">动漫</A> <A href="http://my.yesky.com/">社区</A> 
<A href="http://www.mydown.com/">下载</A> <A href="http://hot.yesky.com/">网摘</A> 
<A href="http://blog.yesky.com/">博客</A> </DIV></DIV><!--导航结束--><!--产品及导航两行结束--><!--笔记本导航条-->
<DIV class=box>
<DIV class=bgpic>您现在的位置: <A href="http://www.yesky.com/index.shtml">天极Yesky</A> 
&gt; <A href="http://soft.yesky.com/index.shtml">软件</A> &gt; <A 
href="http://soft.yesky.com/lesson/index.shtml">专题教程</A> </DIV></DIV>
<DIV class=clear1></DIV>
<DIV class=box>
<DIV class=guanggao><SPAN id=contentAdv></SPAN></DIV><IFRAME align=right 
marginWidth=0 marginHeight=0 
src="用VC++实现图像检索技术1.files/;pl=pl-15-software-all;tp=if;sk=0;ck=0;.htm" 
frameBorder=0 width=360 scrolling=no height=300></IFRAME><BR><IMG height=85 
src="用VC++实现图像检索技术1.files/jt-01-21-0121-1.gif" width=104 align=right>  <FONT 
color=#ac000><B>一. 理论和方法介绍</B></FONT><BR><BR>  <B>a) 
采用颜色检索方法的目的:</B><BR><BR>  对多媒体数据的检索,早期的方法是用文本将多媒体数据进行标识,这显然不是基于多媒体信息本身内容的检索,对多媒体数据中包含的信息是一中及大的浪费;<BR><BR>  基于内容的检索是多媒体数据库的关键技术,如何实现这块技术,是值得商榷的,而最好的方法是使用无需领域知识的检索方法,因此,基于颜色的方法就是实现的关键;<BR><BR>  本文介绍了颜色直方图和颜色对方法在基于内容检索时的实现思路和理论;<BR><BR>  其实颜色直方图简单来说,就是统计图像中具有某一特定颜色的象素点数目而形成的各颜色的直方图表示,不同的直方图代表不同图片的特征。<BR><BR>  <B>b) 
利用颜色直方图进行检索:</B><BR><BR>  该方法也可以应用于视频数据库的查询中,有以下三种方式:<BR><BR>  (1)指明颜色组成--该法需要用户对图像中的颜色非常敏感,而且使用起来也不方便,检索的查准率和查全率并不高,因此文章中并未介绍该法的实现思路<BR><BR>  (2)指明一幅示例图像--通过与用户确定的图像的颜色直方图的相似性匹配得到查询结果,这是文章介绍的两种方法的根本<BR><BR>  (3)指明图像中一个子图--分割图像为各个小块,然后利用选择小块来确定图像中感兴趣的对象的轮廓,通过建立更复杂的颜色关系(如颜色对方法)来查询图像,该方法是文章的重心所在<BR><BR>  <B>c) 
颜色直方图实现思路的介绍:</B><BR><BR>  两图片是否相似可以采用欧氏距离来描述:<BR><BR>   Ed=(G,S)= <IMG 
height=47 src="用VC++实现图像检索技术1.files/jt-2003-0121-image002.gif" 
width=105>(Ed越小相似度就越大)<BR>  检索后,全图直方图的相似度的定量度量可以用如下公式表示:<BR><BR>   Sim(G,S)=<IMG 
height=54 src="用VC++实现图像检索技术1.files/jt-2003-0121-image004.gif" width=146> 
<BR>   (N为颜色级数,Sim越靠近1两幅图片越相似)<BR><BR>  可以对上面2中的公式加改进对某些相对重要的颜色乘上一个权重,就可以做寻找某一前景或组合的查询。<BR><BR>  全图的颜色直方图算法过于简单,因此带来很多问题,如:可能会有两幅根本不同的图像具有完全一样的颜色直方图,不反映颜色位置信息,这样导致查准率和查全率都不高,因此问文章提出了一个改进,即将图像进行了分割,形成若干子块,这样就提供了一定程度的位置信息,而且可以对含用户感兴趣的子块加大权重,提高检索的查询智能性和查准查全率,相应的公式有,子块Gij与Sij的相似性度量为:<BR><BR>   <IMG 
height=54 src="用VC++实现图像检索技术1.files/jt-2003-0121-image006.gif" width=246> 
<BR>  (P为所选颜色空间的样点数)<BR><BR>  再引入子块权重Wij,选取L个最大的Sim值作Simk(Gk,Sk),就有:<BR><BR>   <IMG 
height=39 src="用VC++实现图像检索技术1.files/jt-2003-0121-image008.gif" width=210> 
<BR>(Wk 的选取应根据图像的特点决定,可以使图像中间或用户指定的区域权重大,以反映图像的位置信息)<BR><BR>  <B>d) 
颜色对实现思路介绍:</B><BR><BR>  主要目的:借助图像中相邻子块之间的颜色直方图的配对建模,实现对图像中的具体对象的查询,支持对象的移位、旋转和部分变形;<BR><BR>  颜色对方法特别适合于对边界明显的对象的查询;<BR><BR>  实现思路:计算用户输入图像的子块直方图片à用户选定包含查询对象的子块à计算这些子块与周围相邻的子块的颜色对表à将这些颜色对中差值小于某一域值的颜色对删除以消除颜色噪声à选取颜色对表中数值最大的几个颜色对做为图片的代表特征à搜索目标图像的每一子块的颜色对表寻找与这写代表颜色对的匹配à统计单一匹配次数à若有某一比例以上的颜色对匹配到,图像即被检索到。<BR><BR>  相似性度量:<BR>  <BR>   <IMG 
height=61 src="用VC++实现图像检索技术1.files/jt-2003-0121-image010.gif" width=233> 
<BR>  (N为所用查询颜色对数目)<BR>  qj、gj:颜色对j在查询图像Q和目标图像G中出现的次数<BR><BR>  查询时颜色对的匹配应该是不精确的,应该允许的误差为2%以内 

<P></P>
<DIV class=right>共3页。 <A class=page 
href="http://www.yesky.com/466/1649466.shtml" target=_self><FONT 
color=#666666><B>1</B></FONT></A> <A class=page 
href="http://www.yesky.com/466/1649466_1.shtml" target=_self><B>2</B></A> <A 
class=page href="http://www.yesky.com/466/1649466_2.shtml" 
target=_self><B>3</B></A> <A class=page 
href="http://www.yesky.com/466/1649466_1.shtml" target=_self><FONT 
face=Webdings>8</FONT></A> <A class=page 
href="http://www.yesky.com/466/1649466_2.shtml" target=_self><FONT 
face=Webdings>:</FONT></A></DIV></DIV>
<DIV class=clear></DIV><!--文章评论-->
<DIV class=box>
<SCRIPT language=JavaScript>
<!--
var aid = 1649466;
var channelid = 324;
var tagname = "";

//-->
</SCRIPT>

<DIV class=newxiangguan>
<DIV class=newxiangguanmenu><A href="http://my.yesky.com/" 
target=_blank>天极社区</A>邀请您:<A class=red-s href="http://blog.yesky.com/" 
target=_blank>写博客</A>&nbsp;<A class=red-s href="http://photo.yesky.com/" 
target=_blank>上传相片</A>&nbsp;<A class=red-s href="http://bbs.yesky.com/" 
target=_blank>论坛聊天</A>&nbsp;<A class=red-s href="http://maillist.yesky.com/" 
target=_blank>订阅电子杂志</A>&nbsp;<A class=red-s 
href="http://www.yeecai.com/mobileant/tjadd/tjload.html" 
target=_blank>彩信蚂蚁</A>&nbsp;<A class=red-s 
href="http://hot.yesky.com/">推荐网摘</A>&nbsp;<A class=red-s 
href="http://training.yesky.com/">IT培训</A>&nbsp;<A class=red-s 
href="javascript:sendemail()" target=_self>对此感兴趣</A>&nbsp;<A 
title="推荐到天极网摘 http://hot.yesky.com [鼠标划选本文摘要,然后点击本图片]" 
href="javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(yesky=window.open('http://hot.yesky.com/dp.aspx?t='+escape(d.title)+'&amp;u='+escape(d.location.href)+'&amp;c='+escape(t)+'&amp;st=2','yesky','scrollbars=no,width=400,height=480,left=75,top=20,status=no,resizable=yes'));yesky.focus();" 
target=_self><IMG src="用VC++实现图像检索技术1.files/souchang1.gif" border=0></A> 
</DIV></DIV>
<DIV class=pinlunbox>
<DIV class=pinlunguan3><SPAN id=commentsSpanText>
<SCRIPT language=JavaScript><!--function getTagId(tName) {	tName = tName.replace(/(^[\s ]*)|([\s ]*$)/g, "");	var tagid = 0;	for(var ti = 0; ti < tName.length; ti++) {		tagid += tName.charCodeAt(ti);	}	return tagid;}function UrlEncode(str){   var i,temp,p,q;   var result="";   str = str.replace(/(^[\s ]*)|([\s ]*$)/g, "");   for(i=0;i<str.length;i++){      temp = str.charCodeAt(i);      if(temp>=0x4e00){         execScript("ascCode=hex(asc(\""+str.charAt(i)+"\"))", "vbscript");         result+=ascCode.replace(/(.{2})/g, "%$1");      }else{         result+=escape(str.charAt(i));      }   }   return result;}

⌨️ 快捷键说明

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