Commit 642762c0 authored by Davis King's avatar Davis King

updated spec

parent 3bc36fe1
...@@ -2360,7 +2360,8 @@ namespace dlib ...@@ -2360,7 +2360,8 @@ namespace dlib
); );
/*! /*!
requires requires
- image_type == an implementation of array2d/array2d_kernel_abstract.h - image_type == an implementation of array2d/array2d_kernel_abstract.h or
a dlib::matrix or something convertible to a matrix via array_to_matrix()
- pixel_traits<typename image_type::type> must be defined - pixel_traits<typename image_type::type> must be defined
ensures ensures
- #*this widget is now displaying the given image new_img. - #*this widget is now displaying the given image new_img.
...@@ -2534,7 +2535,8 @@ namespace dlib ...@@ -2534,7 +2535,8 @@ namespace dlib
); );
/*! /*!
requires requires
- image_type == an implementation of array2d/array2d_kernel_abstract.h - image_type == an implementation of array2d/array2d_kernel_abstract.h or
a dlib::matrix or something convertible to a matrix via array_to_matrix()
- pixel_traits<typename image_type::type> must be defined - pixel_traits<typename image_type::type> must be defined
ensures ensures
- this object is properly initialized - this object is properly initialized
......
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