Commit ae08cdc5 authored by Davis King's avatar Davis King

Made spatially_filter_image() use SIMD instructions when filtering float data.

parent 306c9c5b
This diff is collapsed.
...@@ -60,6 +60,9 @@ namespace dlib ...@@ -60,6 +60,9 @@ namespace dlib
- #out_img.nr() == in_img.nr() - #out_img.nr() == in_img.nr()
- returns a rectangle which indicates what pixels in #out_img are considered - returns a rectangle which indicates what pixels in #out_img are considered
non-border pixels and therefore contain output from the filter. non-border pixels and therefore contain output from the filter.
- if (use_abs == false && all images and filers contain float types) then
- This function will use SIMD instructions and is particularly fast. So if
you can use this form of the function it can give a decent speed boost.
!*/ !*/
// ---------------------------------------------------------------------------------------- // ----------------------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment