Commit e7774a4c authored by Davis King's avatar Davis King

Clarified spec

parent 6fbe3c60
...@@ -65,7 +65,7 @@ namespace dlib ...@@ -65,7 +65,7 @@ namespace dlib
ensures ensures
- Interprets img as a grayscale image and returns a new matrix which represents - Interprets img as a grayscale image and returns a new matrix which represents
a colored version of img. In particular, the colormap is defined by a colored version of img. In particular, the colormap is defined by
colormap_heat(). out_color = colormap_heat(grayscale_pixel_value, min_val, max_val).
- The returned matrix will have the same dimensions as img. - The returned matrix will have the same dimensions as img.
!*/ !*/
...@@ -117,7 +117,7 @@ namespace dlib ...@@ -117,7 +117,7 @@ namespace dlib
ensures ensures
- Interprets img as a grayscale image and returns a new matrix which represents - Interprets img as a grayscale image and returns a new matrix which represents
a colored version of img. In particular, the colormap is defined by a colored version of img. In particular, the colormap is defined by
colormap_jet(). out_color = colormap_jet(grayscale_pixel_value, min_val, max_val).
- The returned matrix will have the same dimensions as img. - The returned matrix will have the same dimensions as img.
!*/ !*/
......
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