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 sample.region_centered_grid #60

Merged
merged 1 commit into from
Mar 13, 2024
Merged

Add sample.region_centered_grid #60

merged 1 commit into from
Mar 13, 2024

Conversation

imagejan
Copy link
Member

This samples close-by objects as contiguous regions, but centers on sparse objects that fit in a separate field of view.

In summary, we sample a common grid on each "cluster" of objects that are too close together to fit into separate fields of view.
This avoids any overlap larger than the specified overlap_ratio between tiles.

Closes #59.

This samples closeby objects as contiguous regions,
but centers on sparse objects that fit in a separate field of view.
@codecov-commenter
Copy link

codecov-commenter commented Mar 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.33%. Comparing base (0e3c635) to head (611ae1d).

❗ Current head 611ae1d differs from pull request most recent head 0e7f5c9. Consider uploading reports for the commit 0e7f5c9 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #60      +/-   ##
==========================================
- Coverage   98.43%   98.33%   -0.10%     
==========================================
  Files           9        9              
  Lines         320      361      +41     
  Branches       42       44       +2     
==========================================
+ Hits          315      355      +40     
  Misses          2        2              
- Partials        3        4       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@imagejan imagejan merged commit d0fb74b into main Mar 13, 2024
13 checks passed
@imagejan imagejan deleted the region-grid branch March 13, 2024 13:39
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.

Sample all objects, but center on lonely sparse objects where possible.
2 participants