[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Histogram Equalization on a 8-bit image
From: |
Andy Buckle |
Subject: |
Re: Histogram Equalization on a 8-bit image |
Date: |
Tue, 24 May 2011 12:26:30 +0100 |
On Tue, May 24, 2011 at 12:14 PM, Chethan S <address@hidden> wrote:
> Hi all,
>
> I wanted to perform histogram equalization on 8-bit images but looking at
> help for 'histeq' it seems that Octave won't be able to do that.
> Function File: J = histeq (I, n)
> Histogram equalization of a gray-scale image. The histogram contains n bins,
> which defaults to 64.
> I: Image in double format, with values from 0.0 to 1.0
> J: Returned image, in double format as well
> Is there any other way to do that?
> Thanks and regards,
> Chethan S.
Cast to double before calling histeq? This will, of course, consume
some bytes...
im=double(im);
...
im=uint8(im)
--
/* andy buckle */