Professional Documents
Culture Documents
Brain Tumor Detection in DIP: Presented by
Brain Tumor Detection in DIP: Presented by
Brain Tumor Detection in DIP: Presented by
PRESENTED BY :
Introduction of Tumor
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
T = graythresh(c);
bw = im2bw(c,T+0.3);
imshow(bw);
Watershed Segmentation
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 …