diff --git a/src/Matrix.h b/src/Matrix.h index 18c7552..bb1b4bb 100755 --- a/src/Matrix.h +++ b/src/Matrix.h @@ -14,17 +14,50 @@ class Matrix: public node::ObjectWrap { static double DblGet(cv::Mat mat, int i, int j); + JSFUNC(Eye) // factory + + JSFUNC(Get) // at + JSFUNC(Set) + JSFUNC(Row) JSFUNC(PixelRow) JSFUNC(Col) JSFUNC(PixelCol) - JSFUNC(Eye) // factory + + JSFUNC(Size) + JSFUNC(Width) + JSFUNC(Height) + JSFUNC(Channels) + + JSFUNC(Ellipse) + JSFUNC(Rectangle) + JSFUNC(Line) + JSFUNC(Empty) + + JSFUNC(Save) + JSFUNC(ToBuffer) + + JSFUNC(Resize) + + JSFUNC(ConvertGrayscale) + JSFUNC(ConvertHSVscale) + JSFUNC(Copy) + JSFUNC(Ptr) + JSFUNC(AddWeighted) + JSFUNC(Split) + JSFUNC(Canny) + JSFUNC(Dilate) + + JSFUNC(FindContours) + JSFUNC(DrawContour) + JSFUNC(DrawAllContours) + + // Feature Detection + JSFUNC(GoodFeaturesToTrack) + JSFUNC(HoughLinesP) /* static Handle Val(const Arguments& args); - - - static Handle RowRange(const Arguments& args); static Handle ColRange(const Arguments& args); static Handle Diag(const Arguments& args); @@ -41,7 +74,6 @@ class Matrix: public node::ObjectWrap { static Handle Dot(const Arguments& args); static Handle Zeroes(const Arguments& args); static Handle Ones(const Arguments& args); - static Handle Eye(const Arguments& args); // create, increment, release static Handle PushBack(const Arguments& args); static Handle PopBack(const Arguments& args); @@ -57,38 +89,5 @@ class Matrix: public node::ObjectWrap { */ - - JSFUNC(Get) // at - JSFUNC(Set) - JSFUNC(Size) - JSFUNC(Width) - JSFUNC(Height) - JSFUNC(Channels) - JSFUNC(ToBuffer) - JSFUNC(Ellipse) - JSFUNC(Rectangle) - JSFUNC(Line) - JSFUNC(Empty) - JSFUNC(Save) - - JSFUNC(Resize) - - JSFUNC(ConvertGrayscale) - JSFUNC(ConvertHSVscale) - JSFUNC(Copy) - JSFUNC(Ptr) - JSFUNC(AddWeighted) - JSFUNC(Split) - JSFUNC(Canny) - JSFUNC(Dilate) - - JSFUNC(FindContours) - JSFUNC(DrawContour) - JSFUNC(DrawAllContours) - - // Feature Detection - JSFUNC(GoodFeaturesToTrack) - JSFUNC(HoughLinesP) - };