help-octave
[Top][All Lists]
Advanced

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

the number of bits of an image read with imread


From: Eric Nowak
Subject: the number of bits of an image read with imread
Date: Tue, 5 Dec 2006 17:54:11 +0100

Hi all,
I am using octave to read 8bits and 16bits image with imread().
I need to convert the image to floats in [0,1], e.g. dividing the image values by 2^bitnb.
The pb is, I can't figure out what the bit nb is.

Of course, I can't look for the max value of an image to figure it out because:
- it is too slow
- a 16bits image may have values under 255

Any idea how to solve the problem?

Thanks,
Eric

reply via email to

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