Brain Tumor Detection in DIP: Presented by

You might also like

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 12

Brain Tumor Detection in DIP

PRESENTED BY :
Introduction of Tumor

 A tumor is a solid lesion formed by an abnormal


growth of cells which looks like a swelling

A tumor can be of three types :


- Benign
- Pre-Malignant
- Malignant
Tumor Detection

 In a MRI scan a tumor appears brighter than


its surrounding due to which it can be
detected by using a Digital Image Processing
Technique called as Segmentation
Methodology
Preprocessing

 Loading Image
 Grayscale Conversion
 High Pass Filter
 Enhanced Image

img= imread('1.jpg');
img_gray=rgb2gray(img);
hp_fil=[-1 2 -1;0 0 0;1 -2 1];
Preprocessing ...
Threshold Segmentation

 To make a binary image of the MRI

T = graythresh(c);
bw = im2bw(c,T+0.3);
imshow(bw);
Watershed Segmentation

 To group pixels on the basis of their


intensities

bw5=watershed(bw1);
imshow(bw5);
Morphological Operators
 Strel Mask
 Imdilate Command
 Imerode Command

SE = strel('disk',0);
bw1 = imerode(bw,SE);
imshow(bw1);

SE = strel('disk',0);
bw1 = imdilate(bw1,SE);
imshow(bw1);
Morphological Operators …

Imerode With strel('disk',1); Imdilate With strel('disk',1);


Morphological Operators …

Imerode With strel('disk',6); Imdilate With strel('disk',6);


Output Image

 Tumor portion displayed as White in the final


output image

You might also like