Skip to content

using python function to analyze to quPath annotations #113

Description

@Mattia1311

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions