Commit 4b6f44b8 authored by Davis King's avatar Davis King

Clarified spec

parent 19355742
...@@ -36,8 +36,8 @@ namespace dlib ...@@ -36,8 +36,8 @@ namespace dlib
- filter.nr() % 2 == 1 (i.e. must be odd) - filter.nr() % 2 == 1 (i.e. must be odd)
- filter.nc() % 2 == 1 (i.e. must be odd) - filter.nc() % 2 == 1 (i.e. must be odd)
ensures ensures
- Applies the given spatial filter to in_img and stores the result in out_img. Also - Applies the given spatial filter to in_img and stores the result in out_img (i.e.
divides each resulting pixel by scale. cross-correlates in_img with filter). Also divides each resulting pixel by scale.
- The intermediate filter computations will be carried out using variables of type EXP::type. - The intermediate filter computations will be carried out using variables of type EXP::type.
This is whatever scalar type is used inside the filter matrix. This is whatever scalar type is used inside the filter matrix.
- Pixel values are stored into out_img using the assign_pixel() function and therefore - Pixel values are stored into out_img using the assign_pixel() function and therefore
......
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