Skip to content

Instantly share code, notes, and snippets.

View sriharsha0806's full-sized avatar

sriharsha annamaneni sriharsha0806

View GitHub Profile
# -*- coding: utf-8 -*-
"""
Created on Thu Sep 1 10:27:17 2016
@author: sriharsha
"""
import cv2
import numpy as np
from matplotlib import pyplot as plt
# -*- coding: utf-8 -*-
"""
Created on Wed Aug 31 23:38:07 2016
@author: sriharsha
"""
import cv2
import numpy as np
# -*- coding: utf-8 -*-
"""
Created on Wed Aug 31 16:29:33 2016
Reference: opencvpython.blogspot.com/2013/03/histograms-2-histogram-equalization.html
@author: sriharsha
"""
import cv2
import numpy as np
from matplotlib import pyplot as plt
# -*- coding: utf-8 -*-
"""
Created on Wed Aug 31 17:40:33 2016
@author: sriharsha
"""
import cv2
img = cv2.imread('Tom-and-Jerry-014.jpg')
cv2.imshow('img',img)
# -*- coding: utf-8 -*-
"""
Created on Wed Aug 31 16:22:10 2016
@author: sriharsha
"""
import cv2
import numpy as np
# shading correction
img = cv2.imread('Fig0229(a)(tungsten_filament_shaded).tif')