Borrar filtros
Borrar filtros

how to find 10^3 dimensional histogram of a color image?

1 visualización (últimos 30 días)
i dont know how to find a 10^3 histogram of a color image.so help me

Respuesta aceptada

Walter Roberson
Walter Roberson el 10 de En. de 2012
hist(YourImage(:),10^3)
You will probably not find this to be very useful, though, as it will mix the color information for all of the channels together. You need separate histograms if you want to histogram by channel.
For example,
hist(reshape(YourImage(:,:,2),[],1),10^3)

Más respuestas (0)

Categorías

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

Community Treasure Hunt

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

Start Hunting!

Translated by