Commit f0d48db
Use fused types in denoise, warp (#3486)
* MNT: Add a fused numeric type to make fused_types more constent.
* MNT: make the interpolation use fused types for any->any type interpolation of images.
* MNT: Move even more numpy function calls from Cython to Python.
* MNT: More explicit type specifying
* BUG: Use fused floats in denoise
Pull all denoise array allocation out into python
Function used in python should be def not cdef
Have the correct number of arguments
* MNT: Add additional type check for denoise, more docs
* PEP8 fixes
* Remove redundant array u and view cu
* Mutate output array in Cython and trim in Python
* Replace height and width with existing rows and cols
* Change iteration order to match array order
* Move range_lut and color_lut properly from Cy to Py
* Ravel range LUT which is expected to be 1D
* Update comment in denoise bilateral tests
* Fix relative import in interpolation.pyx
* BENCH: Benchmark for warping with many types
* Rename warp benchmark file
* Update pointer syntax
Co-Authored-By: jni <juan.nunez-iglesias@monash.edu>1 parent 090d1f1 commit f0d48db
8 files changed
Lines changed: 325 additions & 226 deletions
File tree
- benchmarks
- skimage
- feature
- restoration
- tests
- transform
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
0 commit comments