-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make regionprops available per mask (#1610)
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
- Loading branch information
Tony Tung
authored
Oct 17, 2019
1 parent
4378e25
commit d2df275
Showing
2 changed files
with
65 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters