How to plot different probability distribution for an image . Kindly help me.
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Anu G
el 26 de Sept. de 2019
Comentada: Anu G
el 26 de Sept. de 2019
The reference image i have attached.
3 comentarios
Respuesta aceptada
KALYAN ACHARJYA
el 26 de Sept. de 2019
Editada: KALYAN ACHARJYA
el 26 de Sept. de 2019
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 image
pix_prob_weibull=
plot(.....)
hold on;
so on...
At last use Legends
Hope you can do the other plots.
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!