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

output labels #37

Open
anooyih opened this issue Jul 8, 2024 · 3 comments
Open

output labels #37

anooyih opened this issue Jul 8, 2024 · 3 comments

Comments

@anooyih
Copy link

anooyih commented Jul 8, 2024

In the mat file, the predicted tissue class in pclass_mat or cell type in nuclei_mat are stored as integer. I could not find how to map those integers to actual meaningful label such as epithelial, lymphocyte, plasma, etc., for cell type or adipose, abnormal epithelial, normal epithelial, etc., for tissue type. Could you provide the dictionary for each integer somewhere?

Thanks in advance.

@carloalbertobarbano
Copy link

Same problem here :-) Can you provide a way to map the values? thank you

@jw235
Copy link

jw235 commented Nov 25, 2024

Are you using the .mat or .dat file to visualize the results ? and do you use Qupath ?

@simongraham
Copy link
Member

simongraham commented Nov 27, 2024

I believe it should be:

nuclei_dict = {
    0: 'nolabel',
    1: 'neutrophil',
    2: 'epithelial',
    3: 'lymphocyte', 
    4: 'plasma',
    5: 'eosinophil', 
    6: 'connective'
}

tissue_dict = {
    0: 'background',
    1: 'abnormal_epi',
    2: 'normal_epi',
    3: 'inflammatory', 
    4: 'muscle',
    5: 'stroma', 
    6: 'debris'
    7: 'mucin'
    8: 'adipose'
}

Please double check.

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

4 participants