load_images_dataset.m

来自「toolbox_dimreduc - a toolbox for dimensi」· M 代码 · 共 32 行

M
32
字号
function M = load_images_dataset(name, options)

% load_images_dataset - load a dataset of image
% 
%	M = load_images_dataset(name, options);
%
%	name should be either 'binaryalphadigs', 'digits', 
%       'frey_rawface' : From Brendan Frey. Almost 2000 images of Brendan's
%               face, taken from sequential frames of a small video. Size: 20x28.
%		'olivettifaces' : Grayscale faces 8 bit [0-255], a few images of several different people.
%               400 total images, 64x64 size. From the Oivetti database at ATT
%       'umist_cropped' : Grayscale faces 8 bit [0-255], a few images (views) of 20 different people.
%               575 total images, 112x92 size, manually cropped by Daniel
%               Graham at UMist.
%               Set options.nclass=1:20 to load all the data.
%       'yaleface' : The Yale Face Database (size 6.4MB) contains 165
%               grayscale images in GIF format of 15 individuals. There are 11 images per subject, 
%               one per different facial expression or configuration: center-light, w/glasses, 
%               happy, left-light, w/no glasses, normal, right-light, sad, sleepy, surprised, and wink. 
%               See : http://cvc.yale.edu/projects/yalefaces/yalefaces.html
%       'yaleface_b' :
%               See : http://cvc.yale.edu/projects/yalefacesB/yalefacesB.html
%       'edges', 'disks' : synthetic datasets.
%		(more to come)
%	options.nclass is the number of the sub-class (e.g. the number of the digit
%		for 'binaryalphadigs' database)
%	options.dim is the dimension of the images to be loaded (if not set automatically).
%	options.smoothing is to add a smoothing (width of the kernel, eg. 0.05).
%
%   For face datasets, check http://www.face-rec.org/databases/
%
%   Copyright (c) 2005 Gabriel Peyr

⌨️ 快捷键说明

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