MATLAB: Changing width of imhist bins

Image Processing Toolboximhist

Hi After issuing histeq my histogram is very spread. it is more like bunch of lines with very small width. I would like to know is there any way to increase width of each bins in histogram command imhist.

Best Answer

The second argument is the number of bins, which essentially means the bin width.