Skip to content

Commit 4c7b6bc

Browse files
committed
fix: default border type of pyrDown and pyrUp
1 parent 8813680 commit 4c7b6bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/src/imgproc/imgproc.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ Mat pyrDown(
464464
Mat src, {
465465
Mat? dst,
466466
(int, int) dstsize = (0, 0),
467-
int borderType = BORDER_CONSTANT,
467+
int borderType = BORDER_DEFAULT,
468468
}) {
469469
dst ??= Mat.empty();
470470
using((arena) {
@@ -481,7 +481,7 @@ Mat pyrUp(
481481
Mat src, {
482482
Mat? dst,
483483
(int, int) dstsize = (0, 0),
484-
int borderType = BORDER_CONSTANT,
484+
int borderType = BORDER_DEFAULT,
485485
}) {
486486
dst ??= Mat.empty();
487487
using((arena) {

0 commit comments

Comments
 (0)