Professional Documents
Culture Documents
and Analysis of
Brain Tumour
Under the guidance of
Dr. Monica Jain
Prof. & HOD-ICE Dept.
GCET Gr. Noida
Submitted By:
Mayank Yadav (1109722024)
Shivanky Jaiswal
(1109722050)
Sandeep Maurya (1109722045)
*Brain Anatomy
*Motivation
Each
*OBJECTIVE
*To
*Methodology
Framework comprises five steps: image acquisition, preprocessing including edge detection, noise removal,
filtering, dilation. Processing stage comprises of
calculation of area thresholding and extraction.
*Preprocessing code
% calling the function imread to read the image
* I= imread('Image11.bmp');
% imshow function called to display the image
* imshow(I);
* J = imnoise(I,'salt & pepper',0.02); % imnoise function called to image with noise
% imshow displays the image with noise
* figure, imshow(J)
% medfilt2 function performs 2-d filtering on image
* L = medfilt2(J,[3 3]);
* figure, imshow(L)
% edge detection by canny method
* [junk threshold] = edge(I, 'canny');
% scalar value to be multiplied by threshold value
* fudgeFactor = .5;
* BWs = edge(I,'canny', threshold * fudgeFactor); % bws stores the edge detected image
* figure,imshow(BWs), title('binary gradient mask');% imshow displays edge detected
image
% creates a structuring element for dilation
* se90 = strel('line', 3, 90);
* se0 = strel('line', 3, 0);
* BWsdil = imdilate(BWs, [se90 se0]); % imdilate function called to perform image
dilation
* figure, imshow(BWsdil), title('dilated gradient mask');
% imfill performs flood fill operations on
* BWdfill = imfill(BWsdil, 'holes');
* A= imread('image11.bmp');
* B=Imread('image7.bmp');
* I=B;
* [T,EM]=graythresh(I);
*Processing code
% EM effectiveness matrix,t normalized intensity value: both arguments of
graythresh
% g stores the thresholded image
* g = im2bw(I,2*T);
* bg_wT=bwareaopen(g,2*500); % bwareaopen function called to removes from binary image specified connected
components
% variable stores the image without tumor
* bg_withoutT=bwareaopen(bg_wT,2*1000);
% imsubtract called to subtract one image from another
* tumor=imsubtract(bg_wT,bg_withoutT);
* tumor=imfill(tumor,'holes');
% measures set of properties associated with image
* r=regionprops(tumor);
% cat argument concatenates the objects
* cent=cat(1,r.Centroid);
% bounding box creates a box around the specified image
* bb=cat(1,r.BoundingBox);
% area argument calculates the area of image in bounding box
* Area=cat(1,r.Area)
* imshow(I)
* hold on
% loop for creating and defining the bounding box
* for k=1:size(bb,1)
* rectangle('position',bb(k,:),'edgecolor','r','linewidth',2)
* plot(cent(k,1),cent(k,2),'g+')
* end
* figure,imshow(tumor);
* bw=imfill(bw,'holes');
* Main_Area=bwarea(bw);
*Results
Input image 2
* Input image 3
* Input image 4
*Calculations
Input 1
Input image 2
* Input image 3
*Total skull area:32269.875
*Tumor area:1095
*Percentage of area occupied by tumor:3.39%
* Input image 4
*Total skull area:24306
*Tumor area:2053
*Percentage of area occupied by tumor:8.4%
*Conclusion
This method has given the reliable result. If the brain image
has the tumor region, the further processing steps are
needed to be done.
* The edge detection operator technique will detect the size,
shape and boundary extraction. The proposed work
provides a new algorithm for brain tumor which is more
efficient. The accurate and precise detection is crucial
otherwise the wrong identification of disease can lead to
several consequences.
* As diagnosis of tumor is a complicated task; therefore
accuracy and reliability are always assigned much importance.
As shown earlier, various MRI results have been taken and
tested, which shows the clear understanding of accuracy and
precise result.
Thank you!!!!!!