Created
April 20, 2020 09:29
-
-
Save prateekjoshi565/4ba42f8a0d0e2d0376ea4adeb175d6e2 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
# apply image dilation | |
kernel = np.ones((3,3),np.uint8) | |
dilated = cv2.dilate(thresh,kernel,iterations = 1) | |
# plot dilated image | |
plt.imshow(dilated, cmap = 'gray') | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment