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

Enable option for fixed size crops in get_image_features #98

Merged
merged 13 commits into from Jun 3, 2022

Conversation

vanvalen
Copy link
Contributor

@vanvalen vanvalen commented Jun 3, 2022

What

Add a flag to get_image_features to allow for doing fixed sized crops rather than crop and resize.

Why

Crop and resize removes information about cell size, which is useful for cell tracking and also learning dynamic representations of cell behavior.

@msschwartz21 msschwartz21 changed the title Dvv/fixed crop Enable option for fixed size crops in get_image_features Jun 3, 2022
Copy link
Member

@msschwartz21 msschwartz21 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried to suggest changes to make it so that props_padded does not get calculated unnecessarily, but you may need to check that all of the suggestions work correctly.

deepcell_tracking/utils.py Show resolved Hide resolved
deepcell_tracking/utils.py Outdated Show resolved Hide resolved
deepcell_tracking/utils.py Outdated Show resolved Hide resolved
deepcell_tracking/utils.py Outdated Show resolved Hide resolved
deepcell_tracking/utils.py Outdated Show resolved Hide resolved
deepcell_tracking/utils.py Outdated Show resolved Hide resolved
deepcell_tracking/utils.py Outdated Show resolved Hide resolved
vanvalen and others added 7 commits June 3, 2022 16:12
Co-authored-by: Morgan Schwartz <msschwartz21@gmail.com>
Co-authored-by: Morgan Schwartz <msschwartz21@gmail.com>
Co-authored-by: Morgan Schwartz <msschwartz21@gmail.com>
Co-authored-by: Morgan Schwartz <msschwartz21@gmail.com>
Co-authored-by: Morgan Schwartz <msschwartz21@gmail.com>
Co-authored-by: Morgan Schwartz <msschwartz21@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Maintenance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants