MATLAB: Calculating pdf for an Image histogramImage Processing Toolboxpdf I have a Image and i have added noise to it,now i want to calculate pdf for guassian distribution Kindly tell how to calculate it Best Answer You can use hist() or imhist(). The distribution will not necessarily be Gaussian - in fact, it probably won't be. Related SolutionsMATLAB: Calculating PDF from CDF It doesn't matter that you have discrete values, you still need to take the derivative.mu = 1.5;sigma = .11*mudelta = [0.01:0.01:2]; CDF = .5*[1+erf((delta-mu)/(sqrt(2*sigma^2)))]PDF = diff(CDF) ./ diff(delta);new_delta = delta(1:end-1) + diff(delta)./2;plotyy(delta,CDF,new_delta,PDF); MATLAB: How to Matlab function to calculate probability density function of n image Assuming you mean the pdf of gray levels, use imhist(). Related QuestionCalculating PDF from data setCalculating Percentile from a pdfHow to find the probability distribution function of an image
Best Answer