- read the medical images into memory arrays
- code that calculates second-order statistics on memory arrays
Requesting a demo code for calculating second-order statistics (contrast, correlation, energy, homogeneity, and entropy) for medical images.
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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?
0 Commenti
Risposte (2)
Walter Roberson
il 28 Mag 2023
Split the code up into two parts:
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.
Image Analyst
il 28 Mag 2023
Try graycoprops. I'm also attaching a related GLCM demo and image moments demo. Good luck.
help graycoprops
0 Commenti
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!