octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #37681] imread function when used with indexed


From: Carnë Draug
Subject: [Octave-bug-tracker] [bug #37681] imread function when used with indexed images returns a matrix with 0 values, that are not accepted by other image funcs
Date: Mon, 12 Nov 2012 02:07:20 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.10) Gecko/20100101 Firefox/10.0.10 Iceweasel/10.0.10

Follow-up Comment #1, bug #37681 (project octave):

The range of values for indexed images is dependent on their class and this
may be the origin for confusion. If the indexed image is of an integer class,
their indexes start at 0 so there's an offset of 1 for the colormap. However,
some index images can be of class double in which case there's no offset and
the minimum index should be 1.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?37681>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]