Created
March 31, 2016 05:07
-
-
Save lucapiccinelli/95e6dfb4e9a7670a22698b0f074331c1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kernel = np.ones((1, 5), np.uint8) | |
im = cv2.morphologyEx(im, cv2.MORPH_DILATE, kernel, anchor=(2, 0), iterations=2) #dilatazione | |
im = cv2.morphologyEx(im, cv2.MORPH_CLOSE, kernel, anchor=(2, 0), iterations=2) #chiusura |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment