-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow mean pixel value inference from int arrays, not just float (#220)
1. Now only passes None to self.pixel_values i ncsr.py if subdtype is np.bool_ rather than only collecting pixel_values when subdtype is np.float_ allowing for pixel_values to be obtained from int and uint images. 2. add skeletonlabel to _testdata.py to have an example int array 3. add test_skeletonlabel to test_csr.py to confirm int array behaves as expected with csr.summarize --------- Co-authored-by: Juan Nunez-Iglesias <[email protected]>
- Loading branch information
Showing
4 changed files
with
18 additions
and
4 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
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