91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

圖像處理的查準率和查全率的代碼,適合用于圖像圖像的檢測,目標的檢測的評估

資源截圖

代碼片段和文件信息

function?[recall?precision?rate]?=?recall_precision(Wtrue?Dhat)
%
%?Input:
%????Wtrue?=?true?neighbors?[Ntest?*?Ndataset]?can?be?a?full?matrix?NxN
%????Dhat??=?estimated?distances
%
%?Output:
%
%??????????????????exp.?#?of?good?pairs?inside?hamming?ball?of?radius?<=?(n-1)
%??precision(n)?=?--------------------------------------------------------------
%??????????????????exp.?#?of?total?pairs?inside?hamming?ball?of?radius?<=?(n-1)
%
%???????????????exp.?#?of?good?pairs?inside?hamming?ball?of?radius?<=?(n-1)
%??recall(n)?=?--------------------------------------------------------------
%??????????????????????????exp.?#?of?total?good?pairs?

?max_hamm?=?max(Dhat(:));?%將Dhat(:)按列拉成一個1維列向量,然后取最大值

hamm_thresh?=?min(3max_hamm);%比較3max_hamm,取兩者的最小值

[Ntest?Ntrain]?=?size

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????2662??2013-09-14?10:27??recall_precision.m

評論

共有 條評論