-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When sampling with more complex patch configurations, patches along the border of the image were not always sampled correctly. For example, with center=True, patches with the center outside the image were not sampled, ignoring the patches from the bottom row of the image. Additionally, with overlap, additional patches around the borders of the images still contained tissue. For example in the case of a config with half overlapping slides, the patch half a patch size to the upper left of the (0, 0) coordinate was not sampled , while the bottom quarter of this patch still contained the image. These issues are fixed in this PR. For potential required lookup for the visual validation plots for this PR, check intermediate commit 7910ed8/
- Loading branch information
1 parent
41e501c
commit 1e4c6ca
Showing
1 changed file
with
35 additions
and
12 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