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

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

[Octave-bug-tracker] [bug #51976] [octave forge] (image) graythresh fail


From: Carnë Draug
Subject: [Octave-bug-tracker] [bug #51976] [octave forge] (image) graythresh fails with values outside the [0 1] range
Date: Tue, 12 Sep 2017 18:43:53 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

Update of bug #51976 (project octave):

                  Status:          Patch Reviewed => Confirmed              
                 Summary: [octave forge] (image) Unit tests for im2bw fail
randomly => [octave forge] (image) graythresh fails with values outside the [0
1] range

    _______________________________________________________

Follow-up Comment #2:

Thank you for the patch and the review.

However, the test where this happens checks if indeed pasisng a name for a
threshold algorithm uses the same code path as calling graythresh directly
(which should). So the real error is on graythresh, which is failing for
values outside the [0 1].

Checking in Matlab R2010b, it seems that graythresh accepts values outside the
[0 1] and just clips the values.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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