-
-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix wrap bug in ndfilters convolve and correlate (#243)
* Bug fixing ndfilters.convolve and ndfilter.correlate * Added tests * Fixed a syntax error * Update dask_image/ndfilters/_conv.py Co-authored-by: Genevieve Buckley <30920819+GenevieveBuckley@users.noreply.github.com> * Update dask_image/ndfilters/_conv.py Co-authored-by: Genevieve Buckley <30920819+GenevieveBuckley@users.noreply.github.com> Co-authored-by: Genevieve Buckley <30920819+GenevieveBuckley@users.noreply.github.com> Why do we set `mode=constant` here? "The reason I did it is because I assume that it is (barely) faster than doing reflect because padding with constant values is easier than padding reflectively." - anlavandier Gen also assumes that it is unlikely to cause edge artifacts between chunks, because the user can adjust the map_overlap depth to the point where the scipy chunk boundary modes don't really affect the final Dask result.
- Loading branch information
1 parent
ba212e3
commit a858c61
Showing
2 changed files
with
44 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
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