Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Forgiveness
  • Loading branch information
Jorge Lahoz authored and Jorge Lahoz committed Sep 2, 2014
commit 217124472c9526b80f1f3786cd002cc7f2b29547
4 changes: 2 additions & 2 deletions src/Matrix.cc
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ Matrix::Init(Handle<Object> target) {
NODE_SET_PROTOTYPE_METHOD(constructor, "drawContour", DrawContour);
NODE_SET_PROTOTYPE_METHOD(constructor, "drawAllContours", DrawAllContours);

NODE_SET_PROTOTYPE_METHOD(constructor, "goodFeaturesToTrack", GoodFeaturesToTrack);
NODE_SET_PROTOTYPE_METHOD(constructor, "houghLinesP", HoughLinesP);
NODE_SET_PROTOTYPE_METHOD(constructor, "goodFeaturesToTrack", GoodFeaturesToTrack);
NODE_SET_PROTOTYPE_METHOD(constructor, "houghLinesP", HoughLinesP);

NODE_SET_PROTOTYPE_METHOD(constructor, "inRange", inRange);
NODE_SET_PROTOTYPE_METHOD(constructor, "adjustROI", AdjustROI);
Expand Down
18 changes: 17 additions & 1 deletion src/Matrix.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ class Matrix: public node::ObjectWrap {
JSFUNC(ConvertGrayscale)
JSFUNC(ConvertHSVscale)
JSFUNC(GaussianBlur)
JSFUNC(MedianBlur)
JSFUNC(BilateralFilter)
JSFUNC(BoxFilter)
JSFUNC(Copy)
JSFUNC(Flip)
Expand All @@ -57,6 +59,8 @@ class Matrix: public node::ObjectWrap {
JSFUNC(AbsDiff)
JSFUNC(AddWeighted)
JSFUNC(BitwiseXor)
JSFUNC(BitwiseNot)
JSFUNC(BitwiseAnd)
JSFUNC(CountNonZero)
//JSFUNC(Split)
JSFUNC(Canny)
Expand Down Expand Up @@ -91,6 +95,19 @@ class Matrix: public node::ObjectWrap {

JSFUNC(MatchTemplate)
JSFUNC(MinMaxLoc)

JSFUNC(PushBack)

JSFUNC(PutText)

JSFUNC(GetPerspectiveTransform)
JSFUNC(WarpPerspective)

JSFUNC(CopyWithMask)
JSFUNC(SetWithMask)
JSFUNC(MeanWithMask)
JSFUNC(Shift)

/*
static Handle<Value> Val(const Arguments& args);
static Handle<Value> RowRange(const Arguments& args);
Expand All @@ -110,7 +127,6 @@ class Matrix: public node::ObjectWrap {
static Handle<Value> Zeroes(const Arguments& args);
static Handle<Value> Ones(const Arguments& args);
// create, increment, release
static Handle<Value> PushBack(const Arguments& args);
static Handle<Value> PopBack(const Arguments& args);
static Handle<Value> Total(const Arguments& args);
static Handle<Value> IsContinous(const Arguments& args);
Expand Down