changeset 22766:6033e2e4d5ea stable

doc: Clarify inputs and outputs for rgb2hsv. * rgb2hsv.m: Document inputs of hsv_img and hsv_map to clarify what function operates on.
author Rik <rik@octave.org>
date Mon, 14 Nov 2016 14:58:38 -0800
parents 1c67938a15f1
children 056941d5cc7a
files scripts/image/rgb2hsv.m
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/image/rgb2hsv.m	Sun Nov 13 10:21:08 2016 -0500
+++ b/scripts/image/rgb2hsv.m	Mon Nov 14 14:58:38 2016 -0800
@@ -17,8 +17,8 @@
 ## <http://www.gnu.org/licenses/>.
 
 ## -*- texinfo -*-
-## @deftypefn  {} {@var{hsv_map} =} rgb2hsv (@var{rgb})
-## @deftypefnx {} {@var{hsv_map} =} rgb2hsv (@var{rgb})
+## @deftypefn  {} {@var{hsv_map} =} rgb2hsv (@var{rgb_map})
+## @deftypefnx {} {@var{hsv_img} =} rgb2hsv (@var{rgb_img})
 ## Transform a colormap or image from RGB to HSV color space.
 ##
 ## A color in the RGB space consists of red, green, and blue intensities.