-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Changed PatchSampler to take as base the patche size instead of the input image's chunk sizes * Reverted change in the computation when masks elements are relative smaller than patch sizes * Fixed spatial chunk size computation when patch sizes are grater than the chunk size * Fixed missing patches from chunks smaller than the input image chunk size * Padding and stride added to PatchSampler and ImageBase classes to allow overlapping patches extraction * Added tests for stride and pad parameters of PatchSampler class * Fixed patch slices generation in PatchSampler to always retrieve patches of the defined shape * Standardized patch sampling method to handle smaller and bigger mask scales than image scale * Added example notebook to documentation * Fixed incorrect sampling of patches on masked regions
- Loading branch information
Showing
2 changed files
with
39 additions
and
21 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