<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/libdtouch/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/libdtouch/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/libdtouch/bugs/</id><updated>2009-12-23T15:23:04Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>Min/Max threshold determination is ignored in setThreshold()</title><link href="https://sourceforge.net/p/libdtouch/bugs/1/" rel="alternate"/><published>2009-12-23T15:23:04Z</published><updated>2009-12-23T15:23:04Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netefa97fb10af73c7c2b9a2272da741aae6abba954</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;For an example, see fiducialrecognition.cpp lines 1184, 1225, etc. The define sets the thresholdHere value to be equal to the pre-calculated Otsu threshold, but there is much needless calculation to find an alternative value. If the code is in its final state, a better approach would be to fill the entire image with the Otsu threshold first (using a memcpy), and then just call setSubClustersMinMax(). It would simplify the function greatly.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>