From aba052ab0ed6efb3de25e99ffdae52e910b8284e Mon Sep 17 00:00:00 2001 From: Davis King Date: Mon, 8 Dec 2014 08:02:42 -0500 Subject: [PATCH] clarified spec --- dlib/image_transforms/lbp_abstract.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlib/image_transforms/lbp_abstract.h b/dlib/image_transforms/lbp_abstract.h index 22e0c8f3c..1a20082a2 100644 --- a/dlib/image_transforms/lbp_abstract.h +++ b/dlib/image_transforms/lbp_abstract.h @@ -58,6 +58,7 @@ namespace dlib - image_type == an image object that implements the interface defined in dlib/image_processing/generic_image.h - image_type contains unsigned char valued pixels. + - T is some scalar type like int or double - All pixel values in img are <= max_val - cell_size >= 1 - block_size >= 1 @@ -84,6 +85,7 @@ namespace dlib /*! requires - cell_size >= 1 + - T is some scalar type like int or double ensures - Extracts histograms of uniform local-binary-patterns from img. The histograms are from densely tiled windows that are cell_size pixels wide and @@ -108,6 +110,7 @@ namespace dlib ); /*! requires + - T is some scalar type like int or double - det.num_parts() == 68 ensures - This function extracts the high-dimensional LBP feature described in the