bugGNU Octave - Bugs: bug #40109, Incorrect Result for imadjust,...

 
 

bug #40109: 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: NoneAssigned to: None
Originator Name: Robert D.O.Open/Closed: Open
Release: 3.6.4Operating System: GNU/Linux

Add a New Comment (Rich MarkupRich 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);

imshow(newI)

[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):
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

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):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    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-cleanup