Scilab Function
Last update : 28/10/2005
bmpread - reads an uncompressed Windows 3.1 Bitmap
with 8-Bit quantization depth
Calling Sequence
-
[y,map] = bmpread(datei)
Parameters
-
datei
: complete filename of the bitmap (optional)
-
y
: The picture matrix. The range of values is [1...256]. Each
element of y represents a row of the colormap.
-
map
: The colormap of the 8-Bit Bitmap. The range of values is
[0...1]. The matrix map consists of 3 columns. The 1st column
represents the RED, the 2nd the GREEN and the 3rd the BLUE part of a
color.
Description
-
The SIVP toolbox offers more possibilites to read images. This
function is usefull, when you want to modify it. For example reading
in only a few rows of a picture.
Examples
[Y,MAP]=bmpread(); //Select an 8-Bit bitmap
f=gcf();
f.color_map=MAP;
Matplot(Y);
See Also
bmpcolor
,
Authors
-
Dr. Andreas Geissler geisslea@web.de