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


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

Submitter:  Robert D.O. <xix_8>
Submitted:  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
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment (Rich Markup)

Comment Type & Canned Response:


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)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    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.9