diff --git a/src/modules/EdgeDetect/Module.js b/src/modules/EdgeDetect/Module.js index def4646b..3f97bdb3 100644 --- a/src/modules/EdgeDetect/Module.js +++ b/src/modules/EdgeDetect/Module.js @@ -7,7 +7,7 @@ module.exports = function edgeDetect(options, UI) { options.blur = options.blur || defaults.blur; options.highThresholdRatio = options.highThresholdRatio || defaults.highThresholdRatio; options.lowThresholdRatio = options.lowThresholdRatio || defaults.lowThresholdRatio; - options.hystereis = options.hysteresis || defaults.hysteresis; + options.hysteresis = options.hysteresis || defaults.hysteresis; var output; @@ -27,7 +27,7 @@ module.exports = function edgeDetect(options, UI) { function extraManipulation(pixels) { pixels = require('ndarray-gaussian-filter')(pixels, options.blur); - pixels = require('./EdgeUtils')(pixels, options.highThresholdRatio, options.lowThresholdRatio, options.hystereis); + pixels = require('./EdgeUtils')(pixels, options.highThresholdRatio, options.lowThresholdRatio, options.hysteresis); return pixels; }