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

using python function to analyze to quPath annotations #113

Open
Mattia1311 opened this issue Apr 9, 2024 · 0 comments
Open

using python function to analyze to quPath annotations #113

Mattia1311 opened this issue Apr 9, 2024 · 0 comments
Labels
question Further information is requested

Comments

@Mattia1311
Copy link

Mattia1311 commented Apr 9, 2024

Dear all,
I was wondering if exist a specific function within paquo that allows me to show, once extracted with qp.images and then hierarchy.annotations, to show what is inside the annotation and then to compute a python based analysis on that annotation. This is a piece of my code:

for i in qp.images:
    image = i
    sample_ID = image.image_name
    for a in image.hierarchy.annotations:
        glcm_list = calculateGLCM(a,distances_range,angles_range)

where calculateGLCM is a function that extract GLCM features.

I hope you can help me to figure it out this issue.

Thank you

@ap-- ap-- added the question Further information is requested label Jun 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants