bmpcolor - Reads RGB Windows 3.1 Bitmaps
This function reads a file representing a Windows 3.1 RGB bitmap. The range of values of the outputs arguments is [0...255]. The matrices yr, yg, yb are of type double.
If only one rhs-argument is used for function call, then the matrix yr contains the luminace information. The luminance is calculated by the formula yr = 0.299 .*yr + 0.587 .*yg + 0.114 .*yb
[yr,yg,yb]=bmpcolor();
bmpread ,