k = imread('2.jpg'); img2=rgb2gray(k);sigma =?;mu=?pd = makedist('Normal',mu,sigma);data = img2(I,j)y = pdf(pd,data);figure,plot(data,y,'LineWidth',2)
MATLAB: I am trying to implement probality density function on an image but i can not understand how to calculate data, mu and sigma.here is the code is it right to take data as pixl value
probablity density function of image
Related Question
- How to create animation of wave pattern h(x,y,t) = Acos(2*pi*t/T-2*pi*x/L) with T=4s , L=12m, -300<=x<=300, -300<=y<=300 , 0<=t<=20
- Calculating the icdf of Gaussian function without using icdf function
- How to solve equations with symsum inside
- How to check whether the distribution of the data is a right/left skewed normal distribution using kolmogorov-smirnov test
Best Answer