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

Calculate Medoid for Labels #42

Open
pr4deepr opened this issue Jul 21, 2021 · 2 comments
Open

Calculate Medoid for Labels #42

pr4deepr opened this issue Jul 21, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@pr4deepr
Copy link
Contributor

Hi @haesleinhuepf
This is a thought after hearing Florian's talk on EmbedSeg. Is there an option to calculate the medoid for a label object? My understanding is that the medoid should be a part of the object even if it is an irregular shape, in comparison to the centroid which doesn't need to be. If it is possible, this could be used for Label to ROI conversions and perhaps much more.

Cheers
Pradeep

@haesleinhuepf
Copy link
Member

Hey Pradeep,

medoid for a label object

Can you point me to an equation which defines it? We can then see how to clij it :-)

Cheers,
Robert

@haesleinhuepf haesleinhuepf added the enhancement New feature or request label Jul 22, 2021
@pr4deepr
Copy link
Contributor Author

As per their paper
https://arxiv.org/abs/2101.10033

The medoid pixel of the object instance Sk is the one pixel of the object with the smallest
average distance to all other pixels

Screenshot_20210723-012701

@haesleinhuepf haesleinhuepf transferred this issue from clij/clij2 Apr 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants