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

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

[Octave-bug-tracker] [bug #29359] file created with imwrite dowesn't mat


From: Rik
Subject: [Octave-bug-tracker] [bug #29359] file created with imwrite dowesn't match original data.
Date: Wed, 24 Nov 2010 22:46:20 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101027 Ubuntu/9.10 (karmic) Firefox/3.6.12

Follow-up Comment #13, bug #29359 (project octave):

It's still unclear exactly where the error resides.  As I wrote before, using
GraphicsMagick 1.3.5 I see no difference between the image read in and the
image read out.  I used the test script attached to this bug report and the
'compare' function from GraphicsMagick.


For the two images that you uploaded:
gm compare -metric mse pickoutcentralin.tif pickoutcentralout.tif
Image Difference (MeanSquaredError):
           Normalized    Absolute
          ============  ==========
     Red: 0.0000076567        0.0
   Green: 0.0000076567        0.0
    Blue: 0.0000076567        0.0
   Total: 0.0000076567        0.0

And there is a difference.  After running the test script with Octave 3.2.3
and generating a new out.tif image.

Image Difference (MeanSquaredError):
           Normalized    Absolute
          ============  ==========
     Red: 0.0000000000        0.0
   Green: 0.0000000000        0.0
    Blue: 0.0000000000        0.0
   Total: 0.0000000000        0.0



As JWE suggested, if there is a sample piece of code showing how to
read/write an image we can compare that implementation against the one in
Octave.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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