10000 Adding option to centroider centerOfGravity by GillesOrban · Pull Request #49 · AOtools/aotools · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Adding option to centroider centerOfGravity #49

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

Merged
merged 4 commits into from
Sep 15, 2019

Conversation

GillesOrban
Copy link
Contributor

Adding argument to centreOfGravity.
This permits to use absolute value in the thresholding and not solely on a faction of the peak value.
The value subtracted to the image and under which pixels are set to 0 is now max(threshold*max_value, minThreshold).

@matthewtownson
Copy link
Member

Thanks, definitely worth having as an option.

@matthewtownson matthewtownson merged commit 584e8a5 into AOtools:master Sep 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0