colordistplot.m

来自「一种基于肤色和模板的人脸检测源代码算法。」· M 代码 · 共 11 行

M
11
字号
function color = ColorDistPlot(cb, cr)% plot the chromatic color distribution of the imagechroma = zeros(256);cb = round(cb);cr = round(cr);for i = 1:length(cb)   chroma(cb(i), cr(i)) = chroma(cb(i), cr(i)) + 1;endsurf(chroma)

⌨️ 快捷键说明

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