Merge pull request #114 from jefftimesten/patch-1

swap width/height in Matrix constructor
This commit is contained in:
Peter Braden 2014-03-25 23:40:30 -07:00
commit 832fd33497

View File

@ -11,8 +11,8 @@ var RED = [0, 0, 255]; //B, G, R
cv.readImage('./stuff.png', function(err, im) {
var big = new cv.Matrix(im.width(), im.height());
var all = new cv.Matrix(im.width(), im.height());
var big = new cv.Matrix(im.height(), im.width());
var all = new cv.Matrix(im.height(), im.width());
im.convertGrayscale();
im_canny = im.copy();