[Top][All Lists]

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

Re: help with histogram

From: Carnë Draug
Subject: Re: help with histogram
Date: Mon, 13 Feb 2012 16:51:07 +0000

On 12 February 2012 22:09, grizzly101 <address@hidden> wrote:
> I know this is an old post, but I finally figured out why imhist wasn't
> working for uint8 images.  Imhist.m uses the command hist(I(:), bins) to
> generate the histogram.  Bins is defined as an integer value of 256 when
> used for intensity images.  To correct this, open the imhist file and change
> the bins = 256 line to bins = 0:256 and imhist will not work for grayscale
> images of uint8 type.  I was using a bmp file as my input, but I noticed the
> same issue for tif and png until I changed that line.
> I hope this helps, and if this is messing up the original intent of imhist,
> someone please let me know...I'm a noob with matlab/octave and image
> processing.
> thanks,
> Grizzly

Hi Grizzly

the imhist on the repository is already different from the last
released version. It fixes some problems (but introduced another).

You may want to check it out here


reply via email to

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