资源简介
条件随机场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转换仿真及调试程序
评论
共有 条评论