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

Use Petrosian ellipse for masks #4

Open
burke86 opened this issue Jul 3, 2020 · 0 comments
Open

Use Petrosian ellipse for masks #4

burke86 opened this issue Jul 3, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@burke86
Copy link
Owner

burke86 commented Jul 3, 2020

Currently the masks are roughly defined using a threshold enclosing pixel values normalized to the maximum value of the source. Then, some smoothing is done to the mask. We should investigate using a Petrosian ellipse for a more standardized mask.

The statmorph module has codes to compute it, see '_segmap_gini' code: https://statmorph.readthedocs.io/en/latest/_modules/statmorph/statmorph.html

We may want to implement a similar version of this function.

@burke86 burke86 added the enhancement New feature or request label Jul 3, 2020
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

1 participant