Commit aba052ab authored by Davis King's avatar Davis King

clarified spec

parent 45c726c2
...@@ -58,6 +58,7 @@ namespace dlib ...@@ -58,6 +58,7 @@ namespace dlib
- image_type == an image object that implements the interface defined in - image_type == an image object that implements the interface defined in
dlib/image_processing/generic_image.h dlib/image_processing/generic_image.h
- image_type contains unsigned char valued pixels. - image_type contains unsigned char valued pixels.
- T is some scalar type like int or double
- All pixel values in img are <= max_val - All pixel values in img are <= max_val
- cell_size >= 1 - cell_size >= 1
- block_size >= 1 - block_size >= 1
...@@ -84,6 +85,7 @@ namespace dlib ...@@ -84,6 +85,7 @@ namespace dlib
/*! /*!
requires requires
- cell_size >= 1 - cell_size >= 1
- T is some scalar type like int or double
ensures ensures
- Extracts histograms of uniform local-binary-patterns from img. The - Extracts histograms of uniform local-binary-patterns from img. The
histograms are from densely tiled windows that are cell_size pixels wide and histograms are from densely tiled windows that are cell_size pixels wide and
...@@ -108,6 +110,7 @@ namespace dlib ...@@ -108,6 +110,7 @@ namespace dlib
); );
/*! /*!
requires requires
- T is some scalar type like int or double
- det.num_parts() == 68 - det.num_parts() == 68
ensures ensures
- This function extracts the high-dimensional LBP feature described in the - This function extracts the high-dimensional LBP feature described in the
......
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