Mercurial > octave-nkf
view CITATION @ 19803:70911df8ad28
gray2ind: return uint8 when (n <= 256) instead of (n < 256) (bug #44309)
* gray2ind.m: the class of the indexed image returned by gray2ind is
dependent on the number of indices to use. If there are 256 or less,
we return uint8, and uint16 otherwise. Add more tests for the limits.
author | Carnë Draug <carandraug@octave.org> |
---|---|
date | Thu, 19 Feb 2015 14:29:34 +0000 |
parents | a6d13c62fccf |
children | f5d9e57d4380 |
line wrap: on
line source
To cite GNU Octave in publications use: John W. Eaton, David Bateman, Søren Hauberg, Rik Wehbring (2014). GNU Octave version 3.8.1 manual: a high-level interactive language for numerical computations. CreateSpace Independent Publishing Platform. ISBN 1441413006, URL http://www.gnu.org/software/octave/doc/interpreter/ A BibTeX entry for LaTeX users is: @book{, author = {John W. Eaton, David Bateman, S\oren Hauberg, and Rik Wehbring}, title = {{GNU Octave} version 3.8.1 manual: a high-level interactive language for numerical computations}, publisher = {CreateSpace Independent Publishing Platform}, year = {2014}, note = {{ISBN} 1441413006}, url = {http://www.gnu.org/software/octave/doc/interpreter}, } We have invested a lot of time and effort in creating GNU Octave, please cite it when using it. See also `citation pkgname' for citing Octave packages.