load_subimages_dataset.m
来自「toolbox_dimreduc - a toolbox for dimensi」· M 代码 · 共 18 行
M
18 行
function S = load_subimages_dataset(name,nbr,options)
% load_subimages_dataset - create a dataset of subimages.
%
% S = load_subimages_dataset(name,nbr,options);
% or
% S = load_subimages_dataset(M,nbr,options);
%
% S(:,:,i) is the ith sub-image of size options.dim of the full image M
% (or loaded from given name).
%
% M is an image.
% name is a valid image name (eg. 'lena' or 'barb' if barb.gif or lena.png are in the path)
% nbr is the number of images loaded
% options.dim is the size of the extracted small squares
% options.sampling is either 'rand' or 'uniform'.
%
% Copyright (c) 2005 Gabriel Peyr
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?