256 Commits

Author SHA1 Message Date
Wenqi Chen
089024bb41 - make API more natural (breaks compatiblity, but passes test) 2019-03-22 13:01:13 +08:00
Wenqi Chen
7d4b72e17a Fix incorrect mapping of w/h and row/col 2019-03-21 23:34:39 +08:00
Peter Braden
97ceaaa4d6
Merge pull request #604 from jake-brandt/floodfill-output-rect
Pass back Matrix.floodFill() output bounding rect (plus quick unit test)
2019-03-20 17:14:09 +01:00
Peter Braden
8739a9ac2a
Merge pull request #451 from thefotios/addCopyMakeBorder
Added copyMakeBorder function
2019-03-20 17:13:15 +01:00
Peter Braden
cfc96ba0af
Merge pull request #624 from ATLCTO/master
Add Div/Pow matrix functions.
2018-04-16 09:02:26 +02:00
Peter Braden
2e7148127a
Merge pull request #626 from markdicksonjr/master
Additional (optional) parameters added to gaussian blur
2018-04-16 09:01:38 +02:00
Mark Dickson Jr
302bbea2af Additional (optional) parameters added to gaussian blur 2018-04-14 21:32:52 -04:00
Patrick Childers
a9f799004d Add CV_BGRA2BGR format conversion. 2018-04-13 12:42:47 -04:00
Patrick Childers
b5a078a631 Add Div/Pow matrix functions. 2018-04-13 09:11:49 -04:00
David Starke
e1c0d8ef4e Correctly track memory for image pyramid functions 2018-01-17 14:55:57 -08:00
David Starke
9646626e3d Consolidate external memory adjustment in Matrix 2018-01-17 14:25:43 -08:00
Jake Brandt
cfd37af574 Pass back Matrix.floodFill() output bounding rect (plus quick unit test) 2018-01-08 23:30:26 -05:00
David Starke
2cd3bd4ff4 slightly more clear memory handling for async tasks 2018-01-05 11:49:36 -08:00
David Starke
f8d7dc2f06 More accurate tracking of external memory using OpenCV’s reference counts 2018-01-04 20:16:36 -08:00
David Starke
dff99718b9 missed adjusting the external memory on resize 2018-01-04 12:04:26 -08:00
David Starke
dbf2df0ef8 Track external memory usage for matrices 2017-12-22 15:29:49 -08:00
Eric Lundberg
a8790273a9 Add support for scale param in mul, several additional params in goodFeaturesToTrack. Only convert to grayscale in goodFeaturesToTrack if not already in grayscale 2017-11-28 11:39:44 -08:00
Peter Braden
fa663d449b
Merge pull request #588 from btsimonh/refcount
Refcount
2017-11-13 09:58:02 +01:00
Simon Hailes
bc8095534b comment out Addref - too dangerous to leave in. Modify test example. 2017-11-12 17:48:36 +00:00
Simon Hailes
9316a01f03 fix typo 2017-11-12 16:48:08 +00:00
Simon Hailes
96d0eb8824 Matrix: add mtx.addref() and mtx.getrefCount() 2017-11-12 16:03:17 +00:00
Simon Hailes
642bf94a3d Matrix: resizeasync - make safe to mat.release() before async is complete 2017-11-12 15:58:17 +00:00
Simon Hailes
31c9349885 Matrix: asyncsave: make safe to mat.release of input mat before async is complete. 2017-11-12 15:57:29 +00:00
Simon Hailes
81ac6941b9 AsyncToBuffer - make it safe to mat.release() the input image before the async func has completed. 2017-11-12 15:56:33 +00:00
Simon Hailes
6393a7f44e avoid warning about initilisation order 2017-11-10 10:32:51 +00:00
Simon Hailes
0b6b1f42cc fix stupid typo 2017-11-10 10:28:56 +00:00
Simon Hailes
f2c05255a0 resize: delete the dest we created on error, and if still present on destructor 2017-11-10 10:25:27 +00:00
Simon Hailes
ab0bd505d2 resize(async): seems we can get an assert in Unwrap if image has 0,0, size, so catch and report as a callback error. 2017-11-10 09:49:12 +00:00
Simon Hailes
44f175632c resize: move async fn to last argument 2017-11-02 09:44:57 +00:00
Simon Hailes
b67c96ee31 Matrix: Add aync to resize. If first argument is fn(err, img), then run async. Also add fx,fy arguments.
call styles may be:
Sync (modify existing image, new image is CV_32FC3) - same interface as before except added fx,fy
im.resize( width, height );
im.resize( width, height, fx, fy );
im.resize( width, height, interpolation );
im.resize( width, height, fx, fy, interpolation );
Async (create new image, new image is not forced to CV_32FC3?)
im.resize( fn, width, height );
im.resize( fn, width, height, fx, fy );
im.resize( fn, width, height, interpolation );
im.resize( fn, width, height, fx, fy, interpolation );
2017-11-02 08:48:59 +00:00
Dan Schultzer
a58656270f Disable CalcOpticalFlowPyrLK when no vid module 2017-09-16 13:13:08 -07:00
Peter Braden
d28de48e72 Merge branch 'master' into master 2017-09-13 11:41:59 +02:00
Pierre Colle
6de971d0e8 merge compare with piercus's master branch 2017-09-05 17:47:10 +02:00
Pierre Colle
416fbd100e add compare 2017-09-05 17:36:48 +02:00
Pierre Colle
0722569d7e clean logs and error messages 2017-09-05 16:49:28 +02:00
Pierre Colle
2754367628 add Matrix.prototype.mul 2017-08-31 15:53:45 +02:00
Leonid Babikov
7801cefdcd new GetPixel function that returns one of the following [B,G,R,A] or [B,G,R,A] or [G]
extended PixelCol and PixelRow so they will check for channels and return alpha too if possible

tests for GetPixel
2017-06-26 17:08:24 +03:00
Peter Braden
e40d1669c2 Merge pull request #499 from schmidmt/master
Added support for single channel pixelRow and pixelColumn
2017-05-15 09:35:24 +02:00
Michael Thomas Schmidt
633f5162ca Addressed deprecation warning in Node 7.9 with Nan abstractions. 2017-04-18 14:17:54 -05:00
Michael Thomas Schmidt
48c07c7e3b Added support for single depth pixelRow and pixelColumn 2017-04-17 15:15:38 -05:00
Dmitry Ivanovm
eccd861a8a ~cleanup 2017-03-08 16:08:58 -05:00
Peter Braden
c0f7942636 Merge pull request #466 from piercus/master
Few enhancements : Add function, idct, add sigmat param to gaussianBlur
2017-02-08 17:27:23 +01:00
Peter Braden
7085a9b4ae Merge pull request #467 from NatureFeng/master
remove duplicate crop function set
2017-02-08 17:19:36 +01:00
boelroy
12e3c6e25c add the type function in Matrix class 2017-01-17 16:13:20 +08:00
NatureFeng
edc9a6ecab remove duplicate crop function set 2016-11-15 14:17:43 +08:00
Pierre Colle
430976cb1a wrap add function 2016-11-09 10:20:33 +01:00
Pierre Colle
fe2b18e0a7 add sigma param to gaussianBlur 2016-11-09 10:19:26 +01:00
Pierre Colle
2bce0b7cd2 image signature, slow but working 2016-11-09 09:16:04 +01: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