Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Q1 - Obtain negative of the mammogram image

(Fig0304(a)(breast_digital_Xray))
clc
clear all
close all
I=imread('Fig0304(a)(breast_digital_Xray).tif');
subplot(1,2,1);
imshow(I);
title('Original image');
P=imadjust(I,[0 1],[1 0]);
subplot(1,2,2);
imshow(P);
title('Negative of image');

Published with MATLAB® R2014a

You might also like