Clarified spec

This commit is contained in:
Davis King 2011-07-18 12:54:22 -04:00
parent 2c9c546810
commit 0ece9a014d

View File

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