Created
September 13, 2016 03:21
-
-
Save sriharsha0806/ad762ecc467ff51cc4f811bc17431ff5 to your computer and use it in GitHub Desktop.
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
# -*- 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) | |
maximum = np.amax(img) | |
cv2.imshow('negative_image',maximum-img); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment