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

Could you supply more samples in detail of performing your metric libraries in the format of realistic images, masks, and annotations? #12

Open
MIMIWAWA opened this issue Aug 10, 2022 · 2 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@MIMIWAWA
Copy link

Thanks for your marvelous work!

I am writing my paper and preparing to quote your paper and use your metric library.

However, I am confused about the example on your Github.

Since the example of using "np.random.randint" is provided, could you supply more samples in detail of performing your metric libraries in the format of realistic images, masks, and annotations?

I appreciated having your examples in detail.

Thank you very much.

@muellerdo muellerdo self-assigned this Aug 12, 2022
@muellerdo muellerdo added the documentation Improvements or additions to documentation label Aug 12, 2022
@muellerdo
Copy link
Member

muellerdo commented Aug 12, 2022

Heyho @MIMIWAWA,

thank you for your kind words! Always happy to hear that miseval is useful in other's work! :)

Sure, I added a more realistic detailed example (based on my paper Towards a Guideline for Evaluation Metrics in Medical Image Segmentation).

Check out this: https://github.com/frankkramer-lab/miseval/blob/master/miseval.example.ipynb

Overall, you have to convert your segmentation mask to a NumPy matrix in order to pass it to the miseval evaluate interface.

Hope that the new example makes things clearer :)

Cheers,
Dominik

@MIMIWAWA
Copy link
Author

Dear @muellerdo,

Thank you so much for your detailed tutorial on "miseval.example.ipynb".
I have cited your paper, and I will cite it in my future published papers as well.

Moreover, if convenient for you, could you provide your codes for converting the mask file (.png) to a NumPy matrix (.npy) to keep the same track in the format?

I appreciated your help so much.

Sincerely yours,
MIMIWAWA

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

No branches or pull requests

2 participants