0% found this document useful (0 votes)
91 views

Brain Tumor Detection in DIP: Presented by

This document discusses a method for detecting brain tumors in MRI scans using digital image processing techniques. It involves preprocessing the MRI image using filters and thresholding to create a binary image. Watershed segmentation is then used to group pixels based on intensity. Morphological operators like erosion and dilation with disk structuring elements are applied to refine the segmented tumor region. The final output image marks the detected tumor portion in white.

Uploaded by

surajamit
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
91 views

Brain Tumor Detection in DIP: Presented by

This document discusses a method for detecting brain tumors in MRI scans using digital image processing techniques. It involves preprocessing the MRI image using filters and thresholding to create a binary image. Watershed segmentation is then used to group pixels based on intensity. Morphological operators like erosion and dilation with disk structuring elements are applied to refine the segmented tumor region. The final output image marks the detected tumor portion in white.

Uploaded by

surajamit
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 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