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

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

[Octave-bug-tracker] [bug #43315] image package: imadjust only works for


From: Carnë Draug
Subject: [Octave-bug-tracker] [bug #43315] image package: imadjust only works for doubl
Date: Sun, 28 Sep 2014 18:16:37 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.1.0

Update of bug #43315 (project octave):

                  Status:                    None => Duplicate              
             Open/Closed:                    Open => Closed                 
                 Release:                   3.8.2 => other                  
        Operating System:       Microsoft Windows => Any                    
                 Summary:      Image Package Bugs => image package: imadjust
only works for doubl
              Depends on:                         => bugs #42115            

    _______________________________________________________

Follow-up Comment #1:

Hi! Thank you for the bug report. This is a known bug, see duplicates bug
#42115 and bug #40109

The problem is that the imadjust() function was originally written for images
of class double (where all values are on the range [0 1]). No one has yet
bothered to fix it. Could you please submit a patch for this?

You can temporarily work around this by doing:


J = imadjust (im2double (I), [0.15 0.9], [1 0]);


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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