difference between imhist and histfit

1 visualización (últimos 30 días)
Soum
Soum el 16 de Jul. de 2014
Respondida: Raghvendra Kumar el 7 de Jul. de 2020
Hi;
I applied the wavelet transform on series of images, then I tested the distribution of their coefficients by plotting the histogram of them I used imhist but I didn't get a normal distribution then histfit and it gave me a normal distribution is this means that histfit forced the coefficients to be normal or what?
If you have an explanation I'm waiting for it,or any suggestion to study the coefficients distribution
Thank you

Respuestas (1)

Raghvendra Kumar
Raghvendra Kumar el 7 de Jul. de 2020
histfit(data) plots a histogram of values in data using the number of bins equal to the square root of the number of elements in data and fits a normal density function.
imhist(I) calculates the histogram for the grayscale image I. The imhist function returns the histogram counts in counts and the bin locations in binLocations. The number of bins in the histogram is determined by the image type.
For more information please go through following documentation :

Categorías

Más información sobre Histograms en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by