Mercurial > hg > octave-avbm
comparison scripts/image/ind2rgb.m @ 14260:1f911333ed3d
doc: Update docstrings for functions in image/ directory
* aspell-octave.en.pws, brighten.m, colormap.m, contrast.m, flag.m, gmap40.m
gray.m, gray2ind.m, hsv2rgb.m, image.m, ind2gray.m, ind2rgb.m, ntsc2rgb.m,
ocean.m, rgb2hsv.m, rgb2ind.m, rgb2ntsc.m: Update docstrings.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Tue, 24 Jan 2012 09:51:48 -0800 |
parents | 72c96de7a403 |
children | 4beb3a4bd440 |
comparison
equal
deleted
inserted
replaced
14258:08779abcb640 | 14260:1f911333ed3d |
---|---|
15 ## You should have received a copy of the GNU General Public License | 15 ## You should have received a copy of the GNU General Public License |
16 ## along with Octave; see the file COPYING. If not, see | 16 ## along with Octave; see the file COPYING. If not, see |
17 ## <http://www.gnu.org/licenses/>. | 17 ## <http://www.gnu.org/licenses/>. |
18 | 18 |
19 ## -*- texinfo -*- | 19 ## -*- texinfo -*- |
20 ## @deftypefn {Function File} {@var{rgb} =} ind2rgb (@var{x}, @var{map}) | 20 ## @deftypefn {Function File} {@var{rgb} =} ind2rgb (@var{x}) |
21 ## @deftypefnx {Function File} {[@var{R}, @var{R}, @var{R}] =} ind2rgb (@var{x}, @var{map}) | 21 ## @deftypefnx {Function File} {@var{rgb} =} ind2rgb (@var{x}, @var{map}) |
22 ## @deftypefnx {Function File} {[@var{R}, @var{G}, @var{B}] =} ind2rgb (@dots{}) | |
22 ## Convert an indexed image to red, green, and blue color components. | 23 ## Convert an indexed image to red, green, and blue color components. |
23 ## If the colormap doesn't contain enough colors, pad it with the | 24 ## If the colormap doesn't contain enough colors, pad it with the |
24 ## last color in the map. | 25 ## last color in the map. |
25 ## If @var{map} is omitted, the current colormap is used for the conversion. | 26 ## If @var{map} is omitted, the current colormap is used for the conversion. |
26 ## @seealso{rgb2ind, image, imshow, ind2gray, gray2ind} | 27 ## @seealso{rgb2ind, ind2gray, hsv2rgb, ntsc2rgb} |
27 ## @end deftypefn | 28 ## @end deftypefn |
28 | 29 |
29 ## Author: Tony Richardson <arichard@stark.cc.oh.us> | 30 ## Author: Tony Richardson <arichard@stark.cc.oh.us> |
30 ## Created: July 1994 | 31 ## Created: July 1994 |
31 ## Adapted-By: jwe | 32 ## Adapted-By: jwe |