bugGNU Octave - Bugs: bug #48129, `imread` doesn't seem to read...

 
 

bug #48129: `imread` doesn't seem to read correctly

Submitted by:  Luis Mendo <lmendo>
Submitted on:  Sat 04 Jun 2016 05:45:40 PM UTC  
 
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: DuplicateAssigned to: None
Originator Name: Open/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.

 

Sat 04 Jun 2016 06:13:25 PM UTC, comment #4:

Thanks, Mike. I should have seached before posting

Luis Mendo <lmendo>
Sat 04 Jun 2016 05:55:58 PM UTC, comment #3:

Or rather it is fixed for this particular test image because the one color is red. It will not be fixed for other channels, as I'm reading the other bug report now. Still, it is identical to that bug report.

Mike Miller <mtmiller>
Project Administrator
Sat 04 Jun 2016 05:54:05 PM UTC, comment #2:

Thanks for the bug report. I think this is a duplicate of bug #41584, which was fixed on the default branch. I do see the error you describe with version 4.0.2 but not on a development version of Octave. So the fix will come in a future 4.2 Octave release.

Mike Miller <mtmiller>
Project Administrator
Sat 04 Jun 2016 05:48:12 PM UTC, comment #1:

Try this:

[x, map] = imread('http://users.wfu.edu/matthews/misc/jpg_vs_gif/testImage.gif');

The produced `x` is of type `logical`. I think it should be `uin8t` or `double`, so that `map` could be indexed by `x`.

Luis Mendo <lmendo>
Sat 04 Jun 2016 05:45:40 PM UTC, original submission:

Try this:

Luis Mendo <lmendo>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by lmendo (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 04 Jun 2016 05:54:25 PM UTCmtmillerDependencies-=>Depends on bugs #41584
    Sat 04 Jun 2016 05:54:05 PM UTCmtmillerStatusNone=>Duplicate
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1