Commit 0ece9a01 authored by Davis King's avatar Davis King

Clarified spec

parent 2c9c5468
...@@ -71,6 +71,7 @@ namespace dlib ...@@ -71,6 +71,7 @@ namespace dlib
); );
/*! /*!
requires requires
- in_image_type == is an implementation of array2d/array2d_kernel_abstract.h
- T should be a scalar type - T should be a scalar type
- shrink_rect(get_rect(img),1).contains(c,r) - shrink_rect(get_rect(img),1).contains(c,r)
- shrink_rect(get_rect(img),1).contains(c+size-1,r+size-1) - shrink_rect(get_rect(img),1).contains(c+size-1,r+size-1)
...@@ -105,6 +106,7 @@ namespace dlib ...@@ -105,6 +106,7 @@ namespace dlib
); );
/*! /*!
requires requires
- in_image_type == is an implementation of array2d/array2d_kernel_abstract.h
- pixel_traits<typename in_image_type::type>::rgb == true - pixel_traits<typename in_image_type::type>::rgb == true
- T should be a struct with .red .green and .blue members. - T should be a struct with .red .green and .blue members.
- U should be a scalar type - U should be a scalar type
......
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