Skip to content

Commit

Permalink
fix default borderType of pyrDown and pyrUp
Browse files Browse the repository at this point in the history
  • Loading branch information
rainyl committed May 14, 2024
1 parent a0314a4 commit 05be82a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/imgproc/imgproc.dart
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ Mat pyrDown(
Mat src, {
Mat? dst,
(int, int) dstsize = (0, 0),
int borderType = BORDER_CONSTANT,
int borderType = BORDER_DEFAULT,
}) {
dst ??= Mat.empty();
using((arena) {
Expand All @@ -481,7 +481,7 @@ Mat pyrUp(
Mat src, {
Mat? dst,
(int, int) dstsize = (0, 0),
int borderType = BORDER_CONSTANT,
int borderType = BORDER_DEFAULT,
}) {
dst ??= Mat.empty();
using((arena) {
Expand Down

0 comments on commit 05be82a

Please sign in to comment.