Mercurial > octave
diff scripts/image/rgb2ind.m @ 21751:b571fc85953f
maint: Use two spaces after period to indicate sentence break.
author | Rik <rik@octave.org> |
---|---|
date | Thu, 19 May 2016 18:48:52 -0700 |
parents | 516bb87ea72e |
children | b002b4331a12 |
line wrap: on
line diff
--- a/scripts/image/rgb2ind.m Thu May 19 19:42:57 2016 -0400 +++ b/scripts/image/rgb2ind.m Thu May 19 18:48:52 2016 -0700 @@ -85,7 +85,7 @@ error ("rgb2ind: unsupported image class %s", im_class); endswitch - ## we convert to the smallest class necessary to encode the image. Matlab + ## we convert to the smallest class necessary to encode the image. Matlab ## documentation does not mention what it does when uint16 is not enough... ## When an indexed image is of integer class, there's a -1 offset to the ## colormap, hence the adjustment @@ -105,7 +105,7 @@ %!error <RGB> rgb2ind (rand (10, 10, 4)) ## FIXME: the following tests simply make sure that rgb2ind and ind2rgb -## reverse each other. We should have better tests for this. +## reverse each other. We should have better tests for this. ## Typical usage %!test