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

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

[Octave-bug-tracker] [bug #45117] imread reads 3-bands image as a single


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #45117] imread reads 3-bands image as a single band image
Date: Sat, 16 May 2015 20:18:37 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0 Iceweasel/35.0.1

Update of bug #45117 (project octave):

                  Status:                    None => Invalid                
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #1:

This is the correct behavior for imread with indexed image formats.

To convert to an RGB representation you want to use ind2rgb:


>> [A, map] = imread ("a.gif");
>> A2 = ind2rgb (A, map);
>> size (A2)
ans =

   480   640     3



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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