This commit is contained in:
Christoph Oberhofer
2016-04-14 23:16:02 +02:00
parent 7ec6eb28d3
commit c851635522
4 changed files with 6 additions and 6 deletions
+2 -2
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+2 -2
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -199,7 +199,7 @@ function boxFromPatches(patches) {
function binarizeImage() {
otsuThreshold(_currentImageWrapper, _binaryImageWrapper);
_binaryImageWrapper.zeroBorder();
if (_config.debug.showCanvas) {
if (ENV.development && _config.debug.showCanvas) {
_binaryImageWrapper.show(_canvasContainer.dom.binary, 255);
}
}