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 PackageSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: DuplicateAssigned to: None
Originator Name: Robert D.O.Open/Closed: Closed
Release: otherOperating 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 File(s):

Attached Files


   bug dependencies.

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by xix_8 (Submitted 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 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 10 Nov 2015 03:13:05 PM UTCcarandraugStatusNone=>Duplicate
      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
    Thu 26 Sep 2013 08:54:25 AM UTCxix_8Attached File-=>Added Screenshot from 2013-09-26 10:46:35.png, #29222

    Back to the top

    Powered by Savane 3.1-cleanup1