That has bad performance (also not exactly equivalent, but that does probably not matter in practice). For example applying naively the 10x10 median filter and then subsampling does 100 times more work then necessary.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Make this code fast (median pooling) | 5 | 1601 | October 18, 2017 | |
Image Partition into Blocks | 3 | 366 | August 3, 2022 | |
ImageFiltering.jl | 2 | 446 | June 1, 2023 | |
Computationally efficient image filtering | 3 | 338 | May 16, 2023 | |
Big changes in Images.jl (v0.6.0) | 9 | 2717 | May 4, 2017 |