Skip to content

Instantly share code, notes, and snippets.

View perticascatalin's full-sized avatar

Catalin Perticas perticascatalin

View GitHub Profile
@perticascatalin
perticascatalin / pixelBGR.py
Last active January 30, 2021 15:37
BGR image under microscope
# 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