help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: the number of bits of an image read with imread


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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]