Skip to content

Commit 782d043

Browse files
committed
imgproc: update DilateWithParams function to use int for borderType parameter
1 parent beac0b6 commit 782d043

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

imgproc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ func Dilate(src Mat, dst *Mat, kernel Mat) error {
279279
//
280280
// For further details, please see:
281281
// https://docs.opencv.org/master/d4/d86/group__imgproc__filter.html#ga4ff0f3318642c4f469d0e11f242f3b6c
282-
func DilateWithParams(src Mat, dst *Mat, kernel Mat, anchor image.Point, iterations, borderType BorderType, borderValue color.RGBA) error {
282+
func DilateWithParams(src Mat, dst *Mat, kernel Mat, anchor image.Point, iterations, borderType int, borderValue color.RGBA) error {
283283
cAnchor := C.struct_Point{
284284
x: C.int(anchor.X),
285285
y: C.int(anchor.Y),

0 commit comments

Comments
 (0)