資源簡介
條件隨機場CRF圖像處理工具CRFalMTALAB工具,可以運行 沒有錯誤哈,處理圖片
代碼片段和文件信息
function?mpe?=?bel_to_mpe(bel)
%?BEL_TO_MPE?Convert?marginal?beliefs?to?most?probable?explanation?(Viterbi?decoding)
%?function?mpe?=?bel_to_mpe(bel)
%
%?We?pick?the?locally?maximal?value.
%?This?may?give?inconsistent?results?if?there?are?ties.
%
%?bel(:i)?or?bel{i}(:)?is?the?distribution?over?states?for?node?i
if?iscell(bel)
??nnodes?=?length(bel);
??mpe?=?zeros(1nnodes);
??for?i=1:nnodes
????[m?mpe(i)]?=?max(bel{i});
????if?length(find(bel{i}==m))>1
??????fprintf(‘warning:?node?%d?has?ties?for?MPE\n‘?i);
????end
??end
else
??nnodes?=?size(bel2);
??mpe?=?zeros(1nnodes);
??for?i=1:nnodes
????[m?mpe(i)]?=?max(bel(:i));
????if?0?%?length(find(bel(:i)==m))>1
??????fprintf(‘warning:?node?%d?has?ties?for?MPE\n‘?i);
????end
??end
end
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2006-01-20?19:21??CRFall\BPlattice2\
?????文件????????1380??2006-01-20?19:21??CRFall\BPlattice2\#bp_mrf2_lattice2Infer.m#
?????文件?????????777??2006-01-20?19:21??CRFall\BPlattice2\bel_to_mpe.m
?????文件????????1319??2006-01-20?19:21??CRFall\BPlattice2\bethe_mrf2_general.m
?????文件?????????933??2006-01-20?19:21??CRFall\BPlattice2\bp_mpe_mrf2_general.m
?????文件????????1111??2006-01-20?19:21??CRFall\BPlattice2\bp_mpe_mrf2_lattice2.m
?????文件????????5934??2006-01-20?19:21??CRFall\BPlattice2\bp_mrf2_general.m
?????文件????????1760??2006-01-20?19:21??CRFall\BPlattice2\bp_mrf2_lattice2.m
?????文件?????????538??2006-01-20?19:21??CRFall\BPlattice2\bp_mrf2_lattice2Engine.m
?????文件????????1380??2006-01-20?19:21??CRFall\BPlattice2\bp_mrf2_lattice2Infer.m
?????文件????????1364??2006-01-20?19:21??CRFall\BPlattice2\bp_mrf2_lattice2Infer.m~
?????文件????????1343??2006-01-20?19:21??CRFall\BPlattice2\brute_force_inf_mrf2.m
?????文件????????1248??2006-01-20?19:21??CRFall\BPlattice2\compute_joint_from_mrf2.m
?????文件????????3031??2006-01-20?19:21??CRFall\BPlattice2\demo_chain.m
?????文件????????1693??2006-01-20?19:21??CRFall\BPlattice2\demo_lattice.m
?????文件????????1728??2006-01-20?19:21??CRFall\BPlattice2\demo_tree.m
?????文件?????????529??2006-01-20?19:21??CRFall\BPlattice2\gridNeighbors.m
?????目錄???????????0??2006-01-20?19:21??CRFall\BPlattice2\Lattice2\
?????文件????????1131??2006-01-20?19:21??CRFall\BPlattice2\Lattice2\bethe_mrf2_lattice.m
?????文件????????1430??2006-01-20?19:21??CRFall\BPlattice2\Lattice2\bp_mrf2_C.m
?????文件????????6137??2006-01-20?19:21??CRFall\BPlattice2\Lattice2\bp_mrf2_Chelper.c
?????文件????????8704??2006-01-20?19:21??CRFall\BPlattice2\Lattice2\bp_mrf2_Chelper.dll
?????文件???????22288??2006-01-20?19:21??CRFall\BPlattice2\Lattice2\bp_mrf2_Chelper.mexglx
?????文件????????4680??2006-01-20?19:21??CRFall\BPlattice2\Lattice2\bp_mrf2_debug.m
?????文件????????3469??2006-01-20?19:21??CRFall\BPlattice2\Lattice2\bp_mrf2_forloops.m
?????文件????????7117??2006-01-20?19:21??CRFall\BPlattice2\Lattice2\bp_mrf2_local.m
?????文件????????5504??2006-01-20?19:21??CRFall\BPlattice2\Lattice2\bp_mrf2_strips.m
?????文件????????4516??2006-01-20?19:21??CRFall\BPlattice2\Lattice2\bp_mrf2_vectorized.m
?????文件????????4415??2006-01-20?19:21??CRFall\BPlattice2\Lattice2\bp_mrf2_vectorized.m~
?????文件????????1411??2006-01-20?19:21??CRFall\BPlattice2\Lattice2\brute_force_inf_lattice2.m
?????文件????????1451??2006-01-20?19:21??CRFall\BPlattice2\Lattice2\brute_force_inf_lattice2_wrapper.m
............此處省略708個文件信息
- 上一篇:軟件工程課程設計網上購物.doc
- 下一篇:單片機AD、DA轉換仿真及調試程序
評論
共有 條評論