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
# Run: python pixelBGR.py <image_name> <ratio> | |
# For running default case, set ratio to 1 | |
# Looks at the image under the 'microscope' | |
# With zooming, only blue, green and red pixels can be seen | |
# Obtained images saved under: 'BGR.png' | |
import cv2 | |
import numpy as np | |
import sys |