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

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

[Octave-bug-tracker] [bug #42115] image package: imadjust output differs


From: Carnë Draug
Subject: [Octave-bug-tracker] [bug #42115] image package: imadjust output differs from Matlab
Date: Mon, 14 Apr 2014 14:31:42 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20140319 Firefox/24.0 Iceweasel/24.4.0

Update of bug #42115 (project octave):

                 Summary: imadjust output differs from Matlab => image
package: imadjust output differs from Matlab

    _______________________________________________________

Follow-up Comment #1:

This is a known bug. Unfortunately, we haven't come around fixing it. The very
first problem is that imadjust expects image of class double, i.e., values in
the range [0 1]. If you can provide a patch that would be perfect.

In the mean time, assuming your original image was uint8, you can work around
this using:


im2uint8 (imadjust (im2double (img), [0; 0.8], [0; 0.7]))



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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