Borrar filtros
Borrar filtros

how do i create a 3D histogram ?

1 visualización (últimos 30 días)
nissrine Neyy
nissrine Neyy el 14 de Mzo. de 2021
Comentada: DGM el 16 de Mzo. de 2021
I have 3 matrices with the size 128x128 representing data extracted from an image, i want to calculate and display the histogram of them combined each one represents x,y and z respectively, in a way that it shows the number of times a combination has occured, for example how many times the pixel with values(55,89,63) occures, is that possible ?
  1 comentario
DGM
DGM el 16 de Mzo. de 2021
That's a pretty good question. I think that before we try to figure out how to do it, we should ask what a 3D histogram would even look like. The problem with 3D data is that you end up needing four dimensions to visualize it. I think the practical solution would be to reduce the problem to 2D slices, but 128 slices is a lot to deal with.
Alternatively to a stem/bar histogram, you could represent frequency with an intensity map. That would reduce the dimensions required back to 3. Still, what's the most context-appropriate method to represent a volumetric image but as slices?

Iniciar sesión para comentar.

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