⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 driver.m

📁 Matlab skin detector。运用高斯混合模型训练的到人的皮肤颜色分布。用于皮肤和人脸检测。
💻 M
字号:
% Drives the EM experiment

images = [];
%images(:, :, :, 1) = imread('02-26-06_1110.jpg');
%images(:, :, :, 2) = imread('02-26-06_1111.jpg');
%images(:, :, :, 3) = imread('02-26-06_1112.jpg');
%images(:, :, :, 4) = imread('02-26-06_1113.jpg');
%images(:, :, :, 5) = imread('02-26-06_1114.jpg');
images(:, :, :, 1) = imread('02-26-06_1115.jpg');
images(:, :, :, 2) = imread('02-26-06_1116.jpg');
images(:, :, :, 3) = imread('02-26-06_1117.jpg');

iterations = 5;
% [skinMOG, nonskinMOG] = skinEM(images, iterations);
[skinMOG, nonskinMOG] = skinEM2(images, iterations);

skinMOG
nonskinMOG

for i = 1:size(images, 4)
   
   image = images(:, :, :, i);
   displayFigures(image, applyGMMs(image, skinMOG, nonskinMOG), (i-1)*3+1);
   
end;

⌨️ 快捷键说明

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