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

Make regionprops available per mask #1610

Merged
merged 1 commit into from
Oct 17, 2019
Merged

Make regionprops available per mask #1610

merged 1 commit into from
Oct 17, 2019

Commits on Oct 17, 2019

  1. Make regionprops available per mask

    regionprops are useful to characterize and filter segmented cells.  This PR changes what we store for mask data to be a tuple of binary mask and regionprops.  If we construct a mask collection from a labeled image, we retain the region props that are automatically calculated as a part of this conversion process.  If we construct a mask collection from what's stored on disk, we will calculate the regionprops when requested.
    
    Test plan: Save to disk a mask collection generated from a labeled image, and after loading it from disk, verify that the region props of the two mask collections match.
    
    Part of #1497
    Tony Tung committed Oct 17, 2019
    Configuration menu
    Copy the full SHA
    3429923 View commit details
    Browse the repository at this point in the history