bugGNU Octave - Bugs: bug #47223, imshow showed upside down img

 
 

bug #47223: imshow showed upside down img

Submitted by:  None
Submitted on:  Mon 22 Feb 2016 03:44:04 PM UTC  
 
Category: Plotting with gnuplotSeverity: 3 - Normal
Priority: 3 - LowItem Group: Incorrect Result
Status: DuplicateAssigned to: None
Originator Name: Afif HendrawanOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 4.0.2
Operating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

(Jump to the original submission Jump to the original submission)

Fri 29 Apr 2016 09:34:02 PM UTC, comment #8:

Understand that no stable versions have this fix, that includes both 4.0.1 and 4.0.2. Version 4.2.0 will definitely include the fix. A future 4.0.3 version might include a fix, but may not.

Mike Miller <mtmiller>
Project Administrator
Fri 29 Apr 2016 09:25:03 PM UTC, comment #7:

Thanks for the confirmation and a possible fix. I think I'll wait until 4.0.1 or newer is support on OS X, and use 4.0.1 in a VM for now.

Ken Mankoff <mankoff>
Fri 29 Apr 2016 08:51:35 PM UTC, comment #6:

Thanks for the sample image. I can confirm this bug with Octave 4.0.x, but not with the default branch, this has been fixed in the meantime.

Here is a minimal reproducer for this bug in Octave 4.0.x, with graphics toolkit gnuplot, and gnuplot version 5:

So this actually turns out to be the same as bug #38914, which is about exactly this error with gnuplot version 5. I can't say whether this can be fixed on stable or not, or whether it's worth it, but you could try applying the fix to your Octave build if this is important to you (see http://hg.savannah.gnu.org/hgweb/octave/rev/977853866d69, it's all m-files), or use one of the OpenGL toolkits if possible (I know Apple makes this difficult).

Any other developers want to look at whether this can/should be fixed on the stable branch, if there will even be another stable release? If no response, then this will be closed as a duplicate.

Mike Miller <mtmiller>
Project Administrator
Fri 29 Apr 2016 08:08:48 PM UTC, comment #5:

Re-opened, but missing sample image demonstrating the bug. If you could attach the actual image file, as well as a screenshot of the figure showing the error, that would be best.

Mike Miller <mtmiller>
Project Administrator
Fri 29 Apr 2016 07:53:51 PM UTC, comment #4:

I'm experiencing this same bug. Requesting re-open. No change seen with "axis ij" or "axis xy". Sample image is attached.

Ken Mankoff <mankoff>
Fri 11 Mar 2016 12:37:40 AM UTC, comment #3:

No response to request for further information, closing report.

Mike Miller <mtmiller>
Project Administrator
Mon 22 Feb 2016 03:50:25 PM UTC, comment #2:

Can you attach the actual 'someImg.png' file so we can test this?

Carnë Draug <carandraug>
Project Member
Mon 22 Feb 2016 03:50:06 PM UTC, comment #1:

Could you try "axis ij" and "axis xy"? Does one of them solve the problem?

Anonymous
Mon 22 Feb 2016 03:44:04 PM UTC, original submission:

when I'm using this function

the result of image is upside down, like reflection on X axis.
I'm using cli version of v4.0.0 on OSX 10.11

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #37023:  Screen Shot 2016-04-29 at 16.18.05.png added by mankoff (1MiB - image/png - Screenshot of session + displayed image (PNG), and the image itself (TIF))
file #37024:  flipped.tif added by mankoff (2MiB - image/tiff - Screenshot of session + displayed image (PNG), and the image itself (TIF))
file #36426:  Screen Shot 2016-02-22 at 10.35.21 PM.png added by None (198KiB - image/png - upside down image)

 

Digest:
   bug dependencies.

Digest:
   bug dependencies.

 

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

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 17 May 2016 04:39:01 PM UTCmtmillerOpen/ClosedOpen=>Closed
    Fri 29 Apr 2016 08:52:04 PM UTCmtmillerDependencies-=>Depends on bugs #38914
    Fri 29 Apr 2016 08:51:35 PM UTCmtmillerCategoryOctave Function=>Plotting with gnuplot
      Priority5 - Normal=>3 - Low
      StatusWorks For Me=>Duplicate
      Release4.0.0=>4.0.2
      Operating SystemMac OS=>Any
    Fri 29 Apr 2016 08:18:58 PM UTCmankoffAttached File-=>Added Screen Shot 2016-04-29 at 16.18.05.png, #37023
      Attached File-=>Added flipped.tif, #37024
    Fri 29 Apr 2016 08:08:48 PM UTCmtmillerOpen/ClosedClosed=>Open
    Fri 29 Apr 2016 08:07:49 PM UTCmtmillerDependencies-=>bugs #47808 is dependent
    Fri 11 Mar 2016 12:37:40 AM UTCmtmillerStatusNeed Info=>Works For Me
      Open/ClosedOpen=>Closed
    Mon 22 Feb 2016 06:19:40 PM UTCmtmillerItem GroupNone=>Incorrect Result
      StatusNone=>Need Info
    Mon 22 Feb 2016 03:44:04 PM UTCNoneAttached File-=>Added Screen Shot 2016-02-22 at 10.35.21 PM.png, #36426

    Back to the top


    Powered by Savane 3.1-cleanup1