Mercurial > octave-nkf
view .hgsub @ 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 | 44f30dcd87e0 |
children |