Requesting a demo code for calculating second-order statistics (contrast, correlation, energy, homogeneity, and entropy) for medical images.
Mostrar comentarios más antiguos
I want to calculate second-order statistics (contrast, correlation, energy, homogeneity, and entropy) for medical images (CT/MRI images). Do you have a demo code that I can use as an example when writing my own code?
Respuestas (2)
Walter Roberson
el 28 de Mayo de 2023
0 votos
Split the code up into two parts:
- read the medical images into memory arrays
- code that calculates second-order statistics on memory arrays
That is, no calculation of those statistics you list cares even a little whether the arrays are from medical images, or from stock images of happy people and hot air ballons used to sell picture frames, or screen captures from VCR tapes of music videos recorded off of MTV. So go ahead and program the statistics based on receiving 2D arrays (or general arrays), and call those functions passing in the contents of the images you read in.
1 comentario
Zeynep Fatma
el 28 de Mayo de 2023
Try graycoprops. I'm also attaching a related GLCM demo and image moments demo. Good luck.
help graycoprops
Categorías
Más información sobre Medical Physics en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!