Skip to content

Commit 3fdf362

Browse files
committed
"Add second signature for blur() to allow directional blurs."
1 parent 13767c6 commit 3fdf362

5 files changed

Lines changed: 6 additions & 1 deletion

File tree

.DS_Store

-6 KB
Binary file not shown.

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,5 @@ distribution/*
1616
# Locally stored "Eclipse launch configurations"
1717
*.launch
1818

19-
.DS_Store
19+
.DS_Store
20+
*.DS_Store

examples/.DS_Store

0 Bytes
Binary file not shown.
-43.2 KB
Binary file not shown.

src/gab/opencv/OpenCV.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -499,6 +499,10 @@ public void blur(int blurSize){
499499
Imgproc.blur(getCurrentMat(), getCurrentMat(), new Size(blurSize, blurSize));
500500
}
501501

502+
public void blur(int blurW, int blurH){
503+
Imgproc.blur(getCurrentMat(), getCurrentMat(), new Size(blurW, blurH));
504+
}
505+
502506
public void findCannyEdges(int lowThreshold, int highThreshold){
503507
Imgproc.Canny(getCurrentMat(), getCurrentMat(), lowThreshold, highThreshold);
504508
}

0 commit comments

Comments
 (0)