[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: graphics-branch in CVS
From: |
John W. Eaton |
Subject: |
Re: graphics-branch in CVS |
Date: |
Tue, 6 Feb 2007 15:05:08 -0500 |
On 1-Feb-2007, Søren Hauberg wrote:
| Bill Denney skrev:
| > Generally, an mxnx1 matrix in the range [0 1] is considered greyscale
| > while an mxnx3 in either the range [0 1] or [0 255] is considered RGB.
| > An mxnx1 in the range [0 255] is considered indexed to the current
| > colormap using the nearest integer (I'm only almost sure about the
| > nearest integer part).
| This is true for "double" images. If a matrix is of type uint8 or uint16
| and is MxN it will be gray-scale. I think matlab also supports int8 and
| int16 images, but I don't know anybody who actually uses that.
Is there some information that shows up in the graphics handle
properties, or is this choice made when the data is displayed?
jwe