Effacer les filtres
Effacer les filtres

How to plot - Histogram Processing

1 vue (au cours des 30 derniers jours)
vokoyo
vokoyo le 14 Avr 2018
Modifié(e) : vokoyo le 14 Avr 2018
Histogram Processing
h(rk)= nk
p(rk)=nk/n
I try to perform the Matlab programming with formula equation for the image processing as below
However I am not sure my answer is correct or not
Trial>> clear;
Trial>> x=('cameraman.tif');
Trial>> I=double(x);
Trial>> subplot(1,2,1),imshow(x);
Trial>> subplot(1,2,2),hist(I);
Kindly please provide your opinion and suggestion thus I will be able to improve my computing skills

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by