682 Commits

Author SHA1 Message Date
Peter Braden
4e18f2a87e More merging 2016-02-04 14:31:45 +01:00
Peter Braden
930e11cd7f Merge branch 'master' of github.com:peterbraden/node-opencv into svogl-master 2016-02-04 14:04:36 +01:00
Peter Braden
703bbfefa1 Merge pull request #330 from vargad/master
Added Sobel operator
2016-02-03 16:45:51 +01:00
Peter Braden
a7cc7e8761 Merge pull request #359 from mvines/pubmat
Define a native interface for unwrapping the cv:Mat from a Matrix object
2016-02-03 16:44:11 +01:00
Michael Vines
38d19a6236 Add test for inc/Matrix.h 2016-01-27 23:45:13 -08:00
Peter Braden
92b1d2c9ea Merge pull request #361 from punnerud/patch-1
Update addweighted.js
2016-01-27 14:56:53 +01:00
punnerud
7c37842094 Update addweighted.js
Corrected the example and tmp-path
2016-01-25 16:18:28 +01:00
Michael Vines
c457310497 Define a native interface for unwrapping the cv:Mat from a Matrix object 2016-01-20 20:42:41 -08:00
Peter Braden
3d06aefe75 Merge pull request #349 from banterability/patch-1
Fix contours example in README
2016-01-11 13:09:24 +01:00
Peter Braden
96536918ab Merge pull request #350 from cascade256/build_windows
Simplify building on Windows
2016-01-11 13:09:05 +01:00
cascade256
56f27f9e23 Make the use of OPENCV_DIR on Windows match that of the OpenCV docs 2016-01-09 23:03:35 -08:00
cascade256
9fd5d28f6a Adjusted the README so the Windows instructions are accurate 2016-01-07 22:05:04 -08:00
cascade256
9561b4f710 Simplify Windows building 2016-01-07 22:01:29 -08:00
Jeff Long
79aeeffb87 Fix contours example in README
`#findContours` needs to be called, not just referenced.
2016-01-07 11:09:05 -06:00
Peter Braden
d45e74a0aa Merge pull request #344 from vaceta/patch-1
Implement getFrameAt
2015-12-09 14:02:05 +01:00
Matthias Klan
ca36b462ce Implement getFrameAt
getFrameAt takes the position of the video in milliseconds
2015-12-08 14:54:35 +01:00
Peter Braden
c70ec49331 Merge pull request #342 from jainanshul/LDA
Make LDAWrap methods static
2015-12-04 15:00:04 +01:00
Peter Braden
6e2552825c Merge pull request #343 from jainanshul/rotation_matrix
Make GetRotationMatrix2D static
2015-12-04 14:59:29 +01:00
Anshul Jain
310efa4ca2 Make LDAWrap methods static
Also add unit test cases for LDAWrap methods
2015-12-03 18:16:03 -08:00
Anshul Jain
26929ea8a6 Make GetRotationMatrix2D static 2015-12-03 18:13:57 -08:00
Peter Braden
ffbb1594d8 Add a contributors file 2015-11-26 19:14:20 +01:00
Peter Braden
8e4d10137c v4.0.0 2015-11-26 18:55:14 +01:00
Peter Braden
9a7784147c Merge pull request #339 from jspdown/master
Add GetStructuringElement, kernel argument for Erode and Dilate
2015-11-25 13:00:18 +01:00
jspdown
9b6c9a934c Use JSTHROW* macros and fix coding style
Replace Nan::ThrowError by JSTHROW and Nan::ThrowTypeError by JSTHROW_TYPE.
2015-11-24 13:13:36 +01:00
jspdown
1d126caba5 Add remove-lines.js example
This example use GetStructuringElement, Dilate and Erode to remove line
of a music partition.
2015-11-22 15:19:53 +01:00
jspdown
162b091f25 Add kernel argument to Dilate and Erode methods
A second optional argument can be passed to `mat.erode` and
`mat.dilate`. This argument define the kernel used for this
morphological operation. A kernel can be generated by the
GetStructuringElement function.
2015-11-22 15:19:53 +01:00
jspdown
e3090f4176 Add GetStructuringElement function
GetStructuringElement returns a kernel that can be used to perform
morphological operation. This function can be available in `cv.imgproc`
and takes two arguments, the erosion type (MORPH_RECT, MORPH_CROSS,
MORPH_ELLIPSE, ...) and the size of the generated kernel. The `ksize`
argument must be an array of two numbers.
The output kernel is often use for Dilation and Erosion operations.
2015-11-22 15:19:30 +01:00
Peter Braden
794e1add4d Merge pull request #338 from jainanshul/fixes
Miscellaneous Fixes
2015-11-22 14:55:13 +01:00
Anshul Jain
1d649971b1 Add some matrix unit tests 2015-11-20 12:59:31 -08:00
Anshul Jain
02aa27da1d Return a new matrix after reshape operation to preserve the
original matrix
2015-11-20 12:11:48 -08:00
Anshul Jain
cd7b6d16bd Fix typo in Matric convertTo function 2015-11-20 11:25:34 -08:00
Peter Braden
fdc2f6b49a Merge pull request #334 from jainanshul/reshape
Add matrix reshape function
2015-11-20 10:32:37 +01:00
Peter Braden
7470f5fc94 Merge pull request #335 from jainanshul/lda
Add LDA SubspaceProject and SubspaceReconstruct functions
2015-11-20 10:32:11 +01:00
Peter Braden
dd23d744e5 Merge pull request #336 from jainanshul/convertTo
Add support for matrix convertTo function
2015-11-20 10:30:42 +01:00
Anshul Jain
fa008d86a4 Add support for matrix convertTo function 2015-11-19 21:51:13 -08:00
Anshul Jain
49bc593d17 Add matrix reshape function 2015-11-19 15:39:12 -08:00
Anshul Jain
277671203e Add LDA SubspaceProject and SubspaceReconstruct functions 2015-11-19 11:06:22 -08:00
Peter Braden
85749436a6 Merge pull request #329 from jainanshul/face_recognizer_gray_scale
Convert face training image to gray scale only if image has 3 channels
2015-11-16 14:52:15 +01:00
Dániel Varga
38ff7a9f35 Added Sobel operation 2015-11-06 21:57:31 +01:00
Dániel Varga
98cf9b321c Added BorderType constants 2015-11-06 21:57:00 +01:00
Anshul Jain
3736e83aa0 Convert face training image to gray scale only if image has 3 channels 2015-11-05 16:02:26 +05:30
Max Ehrlich
58093bdcfc Merge pull request #328 from jainanshul/norm
Add Matrix norm function
2015-10-30 10:33:58 -04:00
Anshul Jain
caccd601a7 Add Matrix norm function 2015-10-30 18:47:22 +05:30
Peter Braden
8f8d0a59b6 Merge pull request #327 from jainanshul/constants
Add some common constants
2015-10-30 14:07:27 +01:00
Peter Braden
b6fd0f00f6 Merge pull request #319 from vyacheslav-lonschakov/master
Fixed bug with compile in Visual Studio.
2015-10-30 14:06:27 +01:00
vyacheslav
9675b153c9 Fixed indent. 2015-10-30 12:12:22 +03:00
Anshul Jain
8d9b73529a Add some common constants 2015-10-30 10:48:59 +05:30
Max Ehrlich
59ed8e42ff Merge pull request #292 from funky81/master
Windows Installation Guide
2015-10-29 20:59:57 -04:00
Peter Braden
baada9d639 Merge pull request #324 from jainanshul/regression_matrix_constructor
Fix regression in matrix constructor that takes in array of default v…
2015-10-29 12:40:55 +01:00
Peter Braden
ea72d1df38 Merge pull request #326 from jainanshul/warpaffine
Add support for GetRotationMatrix2D and WarpAffine
2015-10-29 12:40:44 +01:00