|
From: | John W. Eaton |
Subject: | Re: the number of bits of an image read with imread |
Date: | Tue, 5 Dec 2006 13:14:05 -0500 |
On 5-Dec-2006, Søren Hauberg wrote: | I'd use the class function: | is8bits = strcmp(class(im), "uint8"); | is16bits = strcmp(class(im), "uint16"); How about just writing isa (im, "uint8") ? jwe
[Prev in Thread] | Current Thread | [Next in Thread] |