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: Avinoam Kalma
Subject: [Octave-bug-tracker] [bug #45117] imread reads 3-bands image as a single band image
Date: Sat, 16 May 2015 19:44:37 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36

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

                 Summary: imread reads 3-bands image as a single band image
                 Project: GNU Octave
            Submitted by: avinoam
            Submitted on: Sat 16 May 2015 07:44:35 PM GMT
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Avinoam
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.0.0-rc4
        Operating System: Microsoft Windows

    _______________________________________________________

Details:


reading the attached file (a.gif)

I get:


>> A=imread ('a.gif');
>> whos A
Variables in the current scope:

   Attr Name        Size                     Bytes  Class
   ==== ====        ====                     =====  =====
        A         480x640                   307200  uint8

Total is 307200 elements using 307200 bytes



'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.




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sat 16 May 2015 07:44:35 PM GMT  Name: a.gif  Size: 248kB   By: avinoam

<http://savannah.gnu.org/bugs/download.php?file_id=34026>

    _______________________________________________________

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]