Fixes #102; Relates to #103 and #96

This commit is contained in:
Christoph Oberhofer
2016-04-05 22:17:51 +02:00
parent cd8148d05d
commit 7bead78de8
2 changed files with 11 additions and 2 deletions
+1 -1
View File
@@ -199,7 +199,7 @@ function boxFromPatches(patches) {
function binarizeImage() {
otsuThreshold(_currentImageWrapper, _binaryImageWrapper);
_binaryImageWrapper.zeroBorder();
if (_config.showCanvas) {
if (_config.debug.showCanvas) {
_binaryImageWrapper.show(_canvasContainer.dom.binary, 255);
}
}