Mercurial > octave-dspies
view CITATION @ 18683:44f0d1a53ead
Add support for integer data types for image cdata.
* gl-render.cc (draw_image): Add support for 'single' data type by
converting FloatNDArray to GLfloat.
* graphics.cc (convert_cdata_2): Change function signature to add is_real
parameter. Convert data from 1-based indexing to 0-based indexing only
if is_real is true.
* graphics.cc (convert_cdata_1): Change function signature to add is_real
parameter. Pass is_real through to convert_cdata_2.
* graphics.cc (convert_cdata): Change CONVERT_CDATA_1 macro to support IS_REAL
argument. Pass IS_REAL through to convert_cdata_1. Add support for uint16
data type.
* image.m: Remove hack converting all integer cdata to single data type.
author | Rik <rik@octave.org> |
---|---|
date | Sat, 26 Apr 2014 16:39:20 -0700 |
parents | 3a93af21d206 |
children | a6d13c62fccf |
line wrap: on
line source
To cite GNU Octave in publications use: John W. Eaton, David Bateman, and Søren Hauberg (2009). GNU Octave version 3.0.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 and David Bateman and S\oren Hauberg}, title = {{GNU Octave} version 3.0.1 manual: a high-level interactive language for numerical computations}, publisher = {CreateSpace Independent Publishing Platform}, year = {2009}, 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.