MATLAB: How to plot different probability distribution for an image . Kindly help me. image processing The reference image i have attached. Best Answer gray_image=rgb2gray(imread('image_test.jpg'));[r c]=size(gray_image);pix_prob_normal=imhist(gray_image)./(r*c); plot(0:255,pix_prob_normal);xlabel('Gray Levels');ylabel('Pixels Probability');I need to plot different type of PDF(weibull, log normal, Rayleigh etc.) for an sonar texture imagepix_prob_weibull=plot(.....)hold on;so on...At last use LegendsHope you can do the other plots. Related SolutionsMATLAB: Nakagami Distribution Hi, If you have the Statistics Toolbox, you can use histfit() with the 'nakagami' option.You can also use mle() with the 'nakagami' option to get the maximum likelihood estimates of the parameters of the Nakagami distribution. MATLAB: How to Matlab function to calculate probability density function of n image Assuming you mean the pdf of gray levels, use imhist(). Related QuestionHow to generate or simulate multivariate observations that are not multivariate normalHow to calculate GLDS texture featuresHow to plot a probability distribution objectHow to go about finding the standard normal probability based on the z-score
Best Answer