|
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 19:36:36 -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: Confirmed => Fixed _______________________________________________________ Follow-up Comment #3: I have pushed this http://hg.code.sf.net/p/octave/image/rev/e94c46afdc96 which will mean that graythresh will now clip those values. This has the unfortunate side effect of being backwards compatibility since graythresh was dependent on having values higher than 1 to distinguish between a vector image and an histogram. vector images are sometimes used to work around the input check of some functions that require 2d matrices. This was terrible design from my part, I should had made a separate function to handle histograms instead of trying to cram everything into graythresh. This change went into the default branch. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?51976> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |