Created
January 4, 2017 17:06
-
-
Save vivekseth/d1dd2418b65b73d5713fdf0124bd18ae to your computer and use it in GitHub Desktop.
This file contains hidden or 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
import cv2 | |
image = cv2.imread('./4.2.04.tiff') | |
# Since OpenCV uses BGR, this code will correctly remove the red channel | |
image[:, :, 2] = 0 | |
cv2.imshow('Hello World', image) | |
k = cv2.waitKey(0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment