資源簡介
可以很好的度量兩幅圖片的相似度
代碼片段和文件信息
%function?[similarity]=comparing(I1I2)
I1=imread(‘p1.jpg‘);
I2=imread(‘p2.jpg‘);
[M_N_R]=meanshiftsmooth(I155);
[M_N_R_SUnProcRegionRegionCount_1RegionIndex_1RegionIndexSum_1]=getmeanshiftsegment(M_N_R10);
[M_S_R]=meanshiftsmooth(I255);
[M_S_R_SUnProcRegionRegionCount_2RegionIndex_2RegionIndexSum_2]=getmeanshiftsegment(M_S_R10);
[similarity]=getsimilarity(RegionCount_1RegionIndexSum_1RegionCount_2RegionIndexSum_2)
subplot(121)imshow(M_N_R_S);
subplot(122)imshow(M_S_R_S);
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2016-05-23?09:02??11\
?????文件?????????508??2016-05-23?10:21??11\comparing.m
?????文件?????????466??2016-05-12?20:28??11\get_cluster_property.m
?????文件?????????243??2016-05-12?20:28??11\getkernalmatrix.m
?????文件????????2065??2016-05-12?20:28??11\getmeanshiftsegment.m
?????文件?????????931??2016-05-12?20:28??11\getsimilarity.m
?????文件????????7610??2016-05-12?20:28??11\hs_err_pid4076.log
?????文件????????1499??2016-05-12?20:28??11\meanshiftsmooth.m
?????文件?????????766??2016-05-12?20:28??11\myedge.m
- 上一篇:用WIN32編碼的推箱子
- 下一篇:文本分類綜述報告
評論
共有 條評論