[84b1c9]: signals / ltfattext.m  Maximize  Restore  History

Download this file

33 lines (28 with data), 810 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
function s=ltfattext();
%LTFATTEXT Load the 'ltfattext' test image
% Usage: s=ltfattext;
%
% `ltfattext loads a $401 \times 600$ black and white image of the word
% 'LTFAT'.
%
% The image is assumed to be used as a spectrogram with 800 channels
% as produced by |dgtreal|_.
%
% The returned matrix `s` consists of the integers 0 and 1, which have
% been converted to double precision.
%
% To display the image, use `imagesc` with a gray colormap::
%
% imagesc(ltfattext); colormap(gray); axis('xy');
%
% See also: ltfatlogo, dgtreal
%
% Demos: demo_isgram
% AUTHOR : Peter Soendergaard
% TESTING: TEST_SIGNALS
% REFERENCE: OK
if nargin>0
error('This function does not take input arguments.')
end;
f=mfilename('fullpath');
s=flipud(double(imread([f,'.png'])))/255;

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks