368 Commits

Author SHA1 Message Date
NatureFeng
edc9a6ecab remove duplicate crop function set 2016-11-15 14:17:43 +08:00
Pierre Colle
749e27aaf9 change to get from CV_32F Matrix 2016-11-08 14:33:38 +01:00
Piercus
1300265317 add dct method 2016-11-07 22:07:01 +01:00
Dan Schultzer
c0728bacdf Merge pull request #450 from dxprog/master
handles colors with less-/more-than three channels
2016-10-29 14:27:41 -07:00
Matt Hackmann
64774c2372 removed unneeded variable from setColor 2016-10-29 11:43:08 -07:00
Matt Hackmann
bd9e313297 cleaned up setColor clean up 2016-10-29 11:21:17 -07:00
Ollie Relph
74c8f4e347 Use the contour hierarchy that's been passed 2016-10-25 11:36:07 +01:00
Ollie Relph
79da65d9a5 Add support for maxLevel 2016-10-25 11:35:48 +01:00
Ollie Relph
c80577f039 Add support for lineType and offset for drawContours 2016-10-20 11:19:45 +01:00
Matt Hackmann
8c1b5e401b handles colors with less-/more-than three channels 2016-10-06 10:06:20 -07:00
Dan Schultzer
6ca8a35338 Fix issues that came up with debug opencv
OpenCV compiled with debug has a lot of assertions. There was some issues that came up when I ran the tests on that build.
2016-09-22 11:23:51 -07:00
Peter Braden
5aee66eb2c Merge pull request #428 from Evilcat325/master
Add MatchTemplate By Matrix Method.
2016-09-22 01:10:24 -07:00
Dan Schultzer
de57ca8419 Rename video capture close to release 2016-09-21 01:47:10 -07:00
Andreas Gal
9a2b3c3bfc make getData() work if we have more than one channel 2016-09-07 16:16:11 -07:00
Andreas Gal
6722aadc2b fix signed/unsigned comparison warning 2016-09-05 13:11:13 -07:00
Andreas Gal
19067e5aff compensate for any padding in getData 2016-09-05 13:01:18 -07:00
Sen
e578cdb869 Add method range check
Method can be only 0~5,  if other number supply will default to
TM_CCORR_NORMED.
2016-07-25 16:47:15 -04:00
Sen
344ea4963d change output
MatchTemplateByMatrix now only return the result matrix
2016-07-25 13:54:55 -04:00
Sen
d8de6a86b8 Add match temple method
Add match temple method that accept a matrix
2016-07-25 13:16:32 -04:00
Igor Dubinskiy
7112856244 Restore Contour.points method 2016-05-12 23:54:53 -07:00
Matt Hackmann
5ae998becf loading image by file/buffer now has same behaviour 2016-05-02 10:21:39 -07:00
Michael Vines
13a1de4f92 Merge pull request #401 from jainanshul/mean
Add matrix mean method
2016-04-22 06:50:54 -07:00
Anshul
2a2ea7d74a Add matrix mean method 2016-04-22 00:01:38 -07:00
Michael Vines
7fb5e261b2 Merge pull request #400 from mvines/asw
AsyncSaveWorker now controls the lifecycle of its filename
2016-04-21 21:10:56 -07:00
Michael Vines
5ca03b25b4 AsyncSaveWorker now controls the lifecycle of its filename 2016-04-21 20:54:02 -07:00
Andreas Gal
bd56c36040 add subtract() to Matrix 2016-04-14 10:31:09 -07:00
Peter Braden
7a50a5b4c2 Merge pull request #371 from AwooOOoo/master
type_info error
2016-04-13 11:46:52 +02:00
Salman
5102116c52 updated matchTemplate and added example 2016-03-15 10:53:41 +05:00
Michael Vines
85b4542b7f Work around bug in OpenCV3 FaceRecognizer::predict
Older versions of OpenCV3 incorrectly returned label=0 at confidence=DBL_MAX
instead of label=-1 on failure.  This can be removed once the fix* becomes
more widespread.

* 0aa58ae9b3 (diff-d9c561bf45c255c5951ff1ab55e80473)
2016-02-25 10:46:16 -08:00
Michael Vines
2405bc5a59 Enable FaceRecognizer on OpenCV3 2016-02-24 21:31:49 -08:00
Paul Matthews
b5228ae209 -Cleanup of white space after last commit 2016-02-12 13:58:52 +01:00
Paul Matthews
ef39f323c7 -Changes to correct type_info errors seen in Visual Studio from std namespace pollution. Removed global std namespace references and specifically prefixed each call. 2016-02-12 13:25:25 +01:00
wenq1
5d1860d1bf - add consts for contour finding 2016-02-12 15:01:22 +08:00
wenq1
fb6ac0ff30 - more work on mements for matrix 2016-02-12 14:58:13 +08:00
wenq1
48f18f5526 - add moments 2016-02-11 22:35:42 +08:00
Peter Braden
b740255d91 Merge pull request #366 from sirotenko/master
Added getFrameCount method to VideoCapture
2016-02-08 09:01:47 +01:00
Michael Vines
2a81f236c5 Base OpenCV 3 port 2016-02-07 19:20:01 -08:00
Mikhail Sirotenko
a45139326d Renamed numFrame method to correspond to OpenCV naming 2016-02-07 09:31:29 -05:00
Mikhail Sirotenko
cf8d9143f8 Added NumFrames method to VideoCapture 2016-02-07 01:56:27 +00:00
Peter Braden
703bbfefa1 Merge pull request #330 from vargad/master
Added Sobel operator
2016-02-03 16:45:51 +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
cascade256
9561b4f710 Simplify Windows building 2016-01-07 22:01:29 -08: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
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
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
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