mirror of https://github.com/davisking/dlib.git
clarified spec
This commit is contained in:
parent
45c726c2c4
commit
aba052ab0e
|
@ -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
|
||||||
/*!
|
/*!
|
||||||
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
|
||||||
);
|
);
|
||||||
/*!
|
/*!
|
||||||
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
|
||||||
|
|
Loading…
Reference in New Issue