pimg.m
来自「this a SVM toolbox,it is very useful for」· M 代码 · 共 28 行
M
28 行
function pimg(x,width,height,cdepth)% PIMG displays vector x as an image.% pimg(x,width,height,cdepth)%% PIMG displays given vector x as an image of given% schape. Color depth is assumed to be <0,1>.%% See also X2IMG, IMG2X, IMG2XI.%% Statistical Pattern Recognition Toolbox, Vojtech Franc, Vaclav Hlavac% (c) Czech Technical University Prague, http://cmp.felk.cvut.cz% Written Vojtech Franc (diploma thesis) 02.01.2000% Modifications% 25-sep-2001, V.Franc, cdepth argument added.% 16-apr-2001, V.Franc, created.%if nargin < 4, cdepth = [0,1];end imshow(x2img(x,width,height),cdepth);return;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?