- 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.
3 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(2 个)
Walter Roberson
2023-5-28
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
2023-5-28
Try graycoprops. I'm also attaching a related GLCM demo and image moments demo. Good luck.
help graycoprops
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!