Manually compute histrogram and display using bar function,

1 visualización (últimos 30 días)
Ali
Ali el 20 de Oct. de 2014
Respondida: Image Analyst el 20 de Oct. de 2014
write function myhist to manually compute the histogram of grayscale image and display the histgoram using bar function

Respuestas (1)

Image Analyst
Image Analyst el 20 de Oct. de 2014
Hint: Use a for loop
[rows, columns, numberOfColorChannels] = size(grayImage);
for col = 1 : columns
for row = 1 : rows
grayLevel = grayImage(row,..............
Sounds like a homework problem so I won't do the whole thing for you. This should be more than enough to let you finish it.

Categorías

Más información sobre Histograms en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by