Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gray Level Co-ocurrence matrix (GLCM) #763

Open
laurar2022 opened this issue Sep 12, 2022 · 6 comments
Open

Gray Level Co-ocurrence matrix (GLCM) #763

laurar2022 opened this issue Sep 12, 2022 · 6 comments

Comments

@laurar2022
Copy link

In order to obtain the GLCM I need to quantize the scan matrix and specify a number of gray levels or bins. However I don't know how to obtain them or if I have to use the number of gray levels specified in the github wiki (https://github.com/cerr/CERR/wiki/Quantize-scan-matrix).

@adityaapte
Copy link
Collaborator

adityaapte commented Sep 12, 2022 via email

@laurar2022
Copy link
Author

Thank you. Is the bin width 5 HU for CT scans?

@adityaapte
Copy link
Collaborator

adityaapte commented Sep 12, 2022 via email

@laurar2022
Copy link
Author

I've used the sample code you posted above and I've obtained the scan values from the ROI. How do I figure out the numbers of bins i need so it picks up characteristics of the intensity distribution?

@EvandroMolinari1998
Copy link

In order to obtain the GLCM I need to quantize the scan matrix and specify a number of gray levels or bins. However I don't know how to obtain them or if I have to use the number of gray levels specified in the github wiki (https://github.com/cerr/CERR/wiki/Quantize-scan-matrix).

Did you have to match de dimensions of the mask array with the dose array? Or dindn't you segment the image?

@laurar2022
Copy link
Author

I didn't have to match the dimensions of the arrays. The thing is I want to obtain the Gray Level Co-ocurrence Matrix from a specific region of interest, namely a structure. However I don't know how to get the numbers of bins or gray levels from the region of interest so the data I get is right.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants