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

Improve min radius when editing spot. #163

Merged
merged 1 commit into from
May 25, 2022
Merged

Improve min radius when editing spot. #163

merged 1 commit into from
May 25, 2022

Conversation

tinevez
Copy link
Contributor

@tinevez tinevez commented May 25, 2022

The min radius was a hardcoded value of 1 whatever unit, regardless of the pixel size. This caused problems on images where the pixel size was much smaller than 1 µm for instance.
Here the min radius is determined to be half of the smallest pixel size in the image, so that spots edited manually always have a size of at least 1 of the smallest pixel in diameter.

Fix #142

The min radius was a hardcoded value of 1 whatever unit, regardless of
the pixel size. This caused problems on images where the pixel size
was much smaller than 1 µm for instance.
Here the min radius is determined to be half of the smallest pixel
size in the image, so that spots edited manually always have a size
of at least 1 of the smallest pixel in diameter.

Fix #142
@tinevez tinevez merged commit f854333 into dev May 25, 2022
@tinevez tinevez deleted the fix-min-radius branch May 25, 2022 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

1 participant