bugGNU Octave - Bugs: bug #40109, image package: Incorrect Result...


bug #40109: image package: Incorrect Result for imadjust, Black Image Output

Submitted by:  Robert D.O. <xix_8>
Submitted on:  Thu 26 Sep 2013 08:54:25 AM UTC  
Category:  Octave Forge Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Duplicate Assigned to:  None
Originator Name:  Robert D.O. Open/Closed:  Closed
Release:  other Operating System:  Any

Add a New Comment(Rich Markup)

You are not logged in

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


Thu 26 Sep 2013 04:21:29 PM UTC, comment #1:

Seems to work when passing the image as double but I agree that this needs to be fixed in the function.

Carnë Draug <carandraug>
Project Member
Thu 26 Sep 2013 08:54:25 AM UTC, original submission:

Running the function "imadjust" in a moltitude of ways, always the same result is given: a black image.

After numerous tries, effectuated through the code:


val=(mingrv-4)/255; % mingrv external value

% newI=imadjust(I);
% newI=imadjust(I,[val;1],[254/255;1]);
% newI=imadjust(I,[0;1],[254/255;1]);
% newI=imadjust(I,[0.00;0.50],[0;1],1);
newI=imadjust(I,[0.00; 1.00],[1.00; 0.00], 1.00);


[every time using a new line through uncomment and comment of unused]


Source Code imadjust.m: http://sourcecodebrowser.com/octave-image/1.0.8/imadjust_8m_source.html

Robert D.O. <xix_8>


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

Attach Files:

Attached Files


   bug dependencies.

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by xix_8 (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.




    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-11-10 carandraug StatusNone => Duplicate
        Open/ClosedOpen => Closed
        Release3.6.4 => other
        Operating SystemGNU/Linux => Any
        SummaryIncorrect Result for imadjust, Black Image Output => image package: Incorrect Result for imadjust, Black Image Output
        Dependencies- => Depends on bugs #42115
    2013-09-26 xix_8 Attached File- => Added Screenshot from 2013-09-26 10:46:35.png, #29222

    Back to the top

    Powered by Savane 3.3