Skip to content

Commit

Permalink
TRYING SO HARD TO FIX IT
Browse files Browse the repository at this point in the history
  • Loading branch information
Michaellin250 committed Mar 27, 2019
1 parent a8757a8 commit cb6b514
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/EdgeDetect/Module.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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;
}

Expand Down

0 comments on commit cb6b514

Please sign in to comment.