Closed csheaff closed 3 years ago
Generally looks good, but I've left a handful of nits to address.
Thanks!
Thanks for the review. Ready for a 2nd.
Thanks. Looks good now, except that the documentation doesn’t match the rustdoc format - see e.g. https://doc.rust-lang.org/beta/rust-by-example/meta/doc.html for an example.
Ready for another look.
Thanks!
This is a grayscale implementation of bilateral filtering inspired by a Cython function skimage.restoration.denoise_bilateral. See #217. The truth image located at
tests/data/truth/lumaphant_bilateral.png
can be generated with the following Python code:A test function comparing the generated image to the truth passes with a tolerance of 1 pixel. As for speed, running the above code yields a function runtime of ~ 0.14 seconds. When I run
cargo +nightly test --release test_bilateral_filter
...the test finishes in 0.04 seconds. It might be good to keep in mind that this is a comparison to compiled Python (i.e. Cython) and not regular Python.