bugGNU Octave - Bugs: bug #45117, imread reads 3-bands image as a...

 
 

bug #45117: imread reads 3-bands image as a single band image

Submitted by:  Avinoam Kalma <avinoam>
Submitted on:  Sat 16 May 2015 07:44:35 PM UTC  
 
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: InvalidAssigned to: None
Originator Name: AvinoamOpen/Closed: Closed
Release: 4.0.0Operating System: Microsoft Windows

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 02 Jun 2015 04:51:50 PM UTC, comment #2:

Retagging release from 4.0.0-rc4 to 4.0.0.

John W. Eaton <jwe>
Project Administrator
Sat 16 May 2015 08:18:36 PM UTC, comment #1:

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

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

Mike Miller <mtmiller>
Project Administrator
Sat 16 May 2015 07:44:35 PM UTC, original submission:

reading the attached file (a.gif)

I get:

'A' should be 480x640x3

This bug appears also in version 3.8.2, but not in 3.6.4

If I convert a.gif to a.bmp, it is still a single band image.

Avinoam Kalma <avinoam>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #34026:  a.gif added by avinoam (248KiB - image/gif)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jwe (Posted a comment)
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by avinoam (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 02 Jun 2015 04:51:50 PM UTCjweRelease4.0.0-rc4=>4.0.0
    Sat 16 May 2015 08:18:36 PM UTCmtmillerStatusNone=>Invalid
      Open/ClosedOpen=>Closed
    Sat 16 May 2015 07:44:35 PM UTCavinoamAttached File-=>Added a.gif, #34026

    Back to the top


    Powered by Savane 3.1-cleanup1