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 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')
# -*- 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: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 23:38:07 2016
@author: sriharsha
"""
import cv2
import numpy as np
# -*- 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 Sat Sep 10 19:11:21 2016
@author: sriharsha
"""
import cv2
import numpy as np
img = cv2.imread('Fig0304(a)(breast_digital_Xray).tif')
cv2.imshow('Original_digital_mammogram',img)
# -*- coding: utf-8 -*-
"""
Created on Sat Sep 10 21:51:12 2016
@author: sriharsha
"""
import cv2
from matplotlib import pyplot as plt
img = cv2.imread('Fig0316(4)(bottom_left).tif')
# Image 1
# -*- coding: utf-8 -*-
"""
Created on Sat Sep 10 23:01:41 2016
@author: sriharsha
"""
import cv2
import numpy as np
from matplotlib import pyplot as plt
# -*- coding: utf-8 -*-
"""
Created on Mon Sep 12 08:44:14 2016
@author: sriharsha
"""
import cv2
from matplotlib import pyplot as plt
img = cv2.imread('Fig0335(a)(ckt_board_saltpep_prob_pt05).tif')
# -*- coding: utf-8 -*-
"""
Created on Mon Sep 12 10:31:29 2016
@author: sriharsha
"""
import cv2
import numpy as np
from matplotlib import pyplot as plt