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

Add a radial option to analyze.distribution #1646

Open
k034b363 opened this issue Jan 2, 2025 · 0 comments
Open

Add a radial option to analyze.distribution #1646

k034b363 opened this issue Jan 2, 2025 · 0 comments
Assignees
Labels
new feature New feature ideas and solutions

Comments

@k034b363
Copy link
Contributor

k034b363 commented Jan 2, 2025

Is your feature request related to a problem? Please describe.
In some situations, like identifying bright embryos within seed xray images, it would be great to have a radial version of analyze.distribution, such that the output would describe the count of nonzero pixels (or average value?) in bins that specified distance from the center of a labeled object.

Describe the solution you'd like
Either a "radial" category for the direction parameter in the existing analyze.distribution function or a separate analyze.distribution_radial function that does what is described above. The output would be similar, a histogram for visualization and outputs for either count or average value in bins. Because labeled objects will not be perfectly round, there should probably also be a cutoff option for where the distribution stops to account for strange things at the edges. Also, the count would probably need to be a percentage, since bins will be uneven (there will be more pixels in farther bins).

@k034b363 k034b363 added the new feature New feature ideas and solutions label Jan 2, 2025
@k034b363 k034b363 self-assigned this Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature ideas and solutions
Projects
None yet
Development

No branches or pull requests

1 participant