103 Commits

Author SHA1 Message Date
deadprogram
1cedd9c417 feature: can use build tags to be able to have a reduced size OpenCV build that only contains specific modules
Signed-off-by: deadprogram <ron@hybridgroup.com>
2025-07-06 17:11:11 +02:00
deadprogram
bd83700f33 feature: return error from calls to OpenCV functions. The error shows the OpenCV exception description
from the exception caught.

Signed-off-by: deadprogram <ron@hybridgroup.com>
2025-03-18 11:04:10 -03:00
deadprogram
a9fec5bda3 feature: add exception handling function and try/catch blocks
Signed-off-by: deadprogram <ron@hybridgroup.com>
2025-03-18 11:04:10 -03:00
l0rem1psum
c5e784be81 feat(imgproc): demosaicing wrapper 2024-08-15 17:23:19 +02:00
TeCHiScy
6f00c32160 Add float version of BoxPoints and MinAreaRect 2024-03-30 18:04:24 +01:00
Michael Russo
4b4d1d8492 Add new binding for cv::Erode.
The original gocv.ErodeWithParams left out the border value parameter. A
new method gocv.ErodeWithParamsAndBorderValue is added so the existing
gocv.ErodeWithParams signature is not broken.
2024-03-30 16:47:18 +01:00
deadprogram
70f4a77bf1 imgproc: add EMD()
Signed-off-by: deadprogram <ron@hybridgroup.com>
2023-10-19 18:08:12 +02:00
deadprogram
2c0b2b9faa imgproc: add CreateHanningWindow()
Signed-off-by: deadprogram <ron@hybridgroup.com>
2023-10-19 18:08:12 +02:00
i.vozvakhov
44038e27d2 add matchShapes function support 2022-11-05 18:52:52 +03:00
FuMin Wang (王富民)
b79f7f6c06 video: add findTransformECC function 2022-04-03 21:01:13 +02:00
atai
f318863460 Add DrawContoursWithParams function 2022-03-09 10:02:51 +01:00
Munia Balayil
2caa3d6abd Add PointPolygonTest function 2021-05-19 16:02:04 +02:00
Munia Balayil
1e249a81ff Add EllipseWithParams function 2021-05-16 18:44:50 +02:00
Munia Balayil
c4563fcd5e Add RectangleWithParams function 2021-05-16 18:44:50 +02:00
Munia Balayil
8efcbaef31 Add CircleWithParams function 2021-05-16 18:44:50 +02:00
Munia Balayil
db13ca559c Add FillPolyWithParams function 2021-05-16 18:44:50 +02:00
Munia Balayil
8739bf1ede Add DilateWithParams() function (#827)
imgproc: add DilateWithParams() function
2021-04-20 13:46:01 +02:00
deadprogram
6b7549b64e core: add implementation for Point2fVector
Signed-off-by: deadprogram <ron@hybridgroup.com>
2021-03-07 23:31:59 +01:00
deadprogram
1cd64c70d4 core: use PointVector for everything that we can to speed up pipeline when passing around Point vectors
Signed-off-by: deadprogram <ron@hybridgroup.com>
2021-03-07 23:31:59 +01:00
deadprogram
854f525ef7 core: create new PointsVector/PointVector wrappers to avoid repetitive memory copying for seeming innocent operations involving slices of image.Point
Signed-off-by: deadprogram <ron@hybridgroup.com>
2021-03-07 23:31:59 +01:00
Thomas Bruyelle
e1646c01c4 imgproc: Add FindContoursWithParams function
Until now, the convenient version of `FindContours` was used by gocv. This
PR adds a binding to the full version with the `hierarchy` parameter.

`hierarchy` gives the contours hierarchy, like which contour is the
child of an other.

The current binding of `FindContours` has a lot of code and I tried to not
duplicate it in the `WithParams` version. As a result, now
`FindContours` calls `FindContoursWithParams` but since I didn't write C
code since years now, I'm not sure about how to pass a default
`hierarchy` that would call the convenient version instead of the full
version.

About test, I added a new 1bit image `images/contours.png` in order to
have very simple contours, and so simple hierarchy.
2021-01-25 09:20:59 +01:00
sushil
3eb620abf9 added accumulators 2020-12-13 22:51:49 +01:00
Arnim Balzer
719cad0525 Add option to return baseline with GetTextSizeWithBaseline 2020-10-15 19:17:39 +02:00
Bart Schuurmans
9d3c832b44 Add GetAffineTransform() and GetAffineTransform2f()
Fixes #687.
2020-06-05 16:02:08 +02:00
deadprogram
85282f33c1 imgproc: change struct to remove GNU old-style field designator extension warning
Signed-off-by: deadprogram <ron@hybridgroup.com>
2020-06-02 12:32:41 +02:00
Anonymous
7c69402dd2 Add FindHomography 2020-05-27 11:13:45 +02:00
eh-steve
5ff2d003f6 Add PhaseCorrelate binding (#626)
* imgproc: add PhaseCorrelate binding
2020-03-25 16:34:25 +01:00
eh-steve
8542c81fb2 Add Go Point2f type and update GetPerspectiveTransform() (#589)
* imgproc: add Go Point2f type, and change GetPerspectiveTransform to use new float32 points instead of image.Points
2020-03-19 22:54:09 +01:00
Bipeen Acharya
1830102f1e Add getGaussianKernel function 2020-03-16 14:35:29 -07:00
Daniel
aec26ad604 Add ErodeWithParams 2020-03-16 14:17:02 -07:00
mdtsandman
8c6e3e0c24 Threshold() should return a value (#620)
* imgproc: Threshold() should return a value
2020-02-27 08:16:16 +01:00
Aleksandar Golubovic
b88d1da6ba Added Polylines feature 2020-02-27 07:14:07 +01:00
Dave Oram
952c9d63b3 Feature/issue 514 mat op (#546)
* imgproc: add FitElipse
2019-12-19 10:43:02 +01:00
Alexander
80883888c4 Feature/put text with line type (#527)
imgproc: adds PutTextWithParams
2019-11-23 09:55:38 +01:00
Domenico Luciani
e798c232b2 Added LinearPolar function (#524)
* imgproc: Added LinearPolar function
2019-10-30 10:08:22 +01:00
Enrico
fd701416c8 Add GetRectSubPix 2019-10-25 09:13:13 +02:00
Domenico Luciani
437875493f Added ClipLine 2019-10-20 10:02:03 +02:00
Domenico Luciani
6c7f0c7d35 Added InvertAffineTransform 2019-10-20 09:54:59 +02:00
Bipeen Acharya
6d8203603b Add Integral 2019-08-14 14:57:26 +02:00
Bipeen Acharya
c972e1921b Add GrabCut 2019-08-14 14:57:26 +02:00
Bipeen Acharya
37316f85b3 Add calcBackProject 2019-08-14 10:43:30 +02:00
Bipeen Acharya
0a03de5aab Add MorphologyExWithParams 2019-08-11 22:53:17 +02:00
Bipeen Acharya
ad1f7142ec Add DistanceTransform and Watershed 2019-08-11 19:35:35 +02:00
Bipeen Acharya
724703a91a Add CompareHist wrapper to imgproc 2019-07-02 07:39:28 +02:00
Kim Eik
6572176f25 Added function call to cv::morphologyDefaultBorderValue 2019-03-15 12:52:20 +01:00
Sarah Shibley
ff28564fca added BoxPoints function and BorderIsolated const 2019-03-13 10:04:24 +01:00
jonathankarsh
10ac7884ef Add opencv's 'MinEnclosingCircle' function to gocv (and test). (#401)
* Add opencv's 'MinEnclosingCircle' function to gocv (and test).
2019-02-11 10:48:38 +01:00
Ron Evans
d17c9b2484 Merge pull request #392 from sshibs/connected-components
Implement Connected Components Functions
2019-02-05 19:56:58 +01:00
Ron Evans
7ac3d8069e Merge pull request #390 from MasashiYokota/add-CLAHE
Implement CLAHE to imgproc
2019-02-05 11:09:56 +01:00
Sarah Shibley
6630cf9656 Added Connected Components 2019-01-27 17:47:26 -08:00