414 Commits

Author SHA1 Message Date
Peter Braden
d760e792a4
Merge pull request #565 from btsimonh/btsimonh-async-resize
Add Async to Matix.resize
2017-11-03 10:41:29 +01:00
Simon Hailes
f2e1fc3e1e VideoCaptureWrap: Add setFPS - returns FPS read back. 2017-11-02 19:47:34 +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
Dan Schultzer
b8169e009b Remove VideoWriterWrap 2017-09-16 13:02:47 -07:00
Dan Schultzer
b7967c3293 Fix new face recognizer setup 2017-09-16 12:58:02 -07:00
Dan Schultzer
95b0596245 Add logic for available modules
With OpenCV >3.1 and 2.4.13, OpenCV can now be installed without specific modules. This makes it so that `node-opencv` will still be able to compile.
2017-09-15 11:29:32 -07:00
Peter Braden
884e0dcc41 Merge pull request #518 from DynamicSTOP/master
extended pixelCol and pixelRow (1,3,4 channels), added getPixel
2017-09-13 11:54:17 +02:00
Peter Braden
1da9634322 Merge pull request #534 from dennisvr/videowriter
VideoWriter
2017-09-13 11:42:26 +02:00
Peter Braden
d28de48e72 Merge branch 'master' into master 2017-09-13 11:41:59 +02:00
Peter Braden
bbf323d8b4 Merge pull request #536 from piercus/master
Add emd(), calcHist(), Matrix.fromArray() and Matrix.prototype.toArray()
2017-09-13 11:39:04 +02:00
Peter Braden
5b52c8c327 Merge branch 'master' into videowriter 2017-09-13 11:34:08 +02:00
Jakob Schindegger
5ebc9b3ced Adding missing mapping 2017-09-10 17:00:31 +02:00
Pierre Colle
6de971d0e8 merge compare with piercus's master branch 2017-09-05 17:47:10 +02:00
Pierre Colle
8a8cf57693 add compare 2017-09-05 17:37:00 +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
Jakob Schindegger
3e9daa46f8 Adding getHeight and getWidth methods 2017-09-04 22:52:37 +02:00
Pierre Colle
2754367628 add Matrix.prototype.mul 2017-08-31 15:53:45 +02:00
Pierre Colle
688d721465 rm useless function nodeArrayToVec 2017-08-28 17:07:33 +02:00
Pierre Colle
431f9015d8 cleanup code following https://stackoverflow.com/questions/45868943/convert-node-array-variable-lenght-to-a-const-float-to-call-opencv-calchist/45870887#45870887 2017-08-25 13:40:14 +02:00
Pierre Colle
47080c1895 cleanup code following https://stackoverflow.com/questions/45868943/convert-node-array-variable-lenght-to-a-const-float-to-call-opencv-calchist/45870887#45870887 2017-08-25 13:40:03 +02:00
Pierre Colle
845643157e adding fromArray, toArray, EMD 2017-08-24 19:40:32 +02:00
Pierre Colle
1bb61fc38a Histogram now takes multiple dimensions 2017-08-23 19:14:32 +02:00
Pierre Colle
2839bce325 add calcHist implementation 2017-08-23 10:57:09 +02:00
Dennis Van Roeyen
245a245605 VideoWriterWrap 2017-08-18 19:57:57 +02:00
Dennis Van Roeyen
4b7822b4df added getFPS to VideoCapture 2017-08-18 14:51:35 +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
dc00de8e22 ~moved TERM constants to constants.cc 2017-03-09 09:33:01 -05:00
Dmitry Ivanovm
eccd861a8a ~cleanup 2017-03-08 16:08:58 -05:00
Nathan Graves
592b70a3c2 Fixed testing for imreadmulti on OpenCV < 3, added distanceTransform function to imgproc module. 2017-02-20 11:08:11 -08:00
Nathan Graves
cfeb82d9fc Added check for mats.empty() on failed image load. 2017-02-16 16:46:55 -08:00
Nathan Graves
2e48ea0a61 Removed unnecessary v8:: prefixes 2017-02-16 16:43:37 -08:00
Nathan Graves
d90fcf78e0 Added binding to imreadmulti with test case for included .tif file. 2017-02-16 16:38:51 -08: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
Peter Braden
1cd0535c7d Merge pull request #474 from ImageQuix/master
Add support for the 'Oriented' area flag in contourArea
2017-02-08 16:50:59 +01:00
boelroy
12e3c6e25c add the type function in Matrix class 2017-01-17 16:13:20 +08:00
Craig Valente
b8419a842a Add support for the 'Oriented' area flag in contourArea 2016-12-12 20:23:38 -05: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
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