Professional Documents
Culture Documents
ISSN No:-2456-2165
Keywords:- MRI, CNN, VGG-16 and Brain Tumor. Convolutional Neural Networks model (CNN)
Medical image processing uses a well-organized
method called Convolutional Neural Networks (CNNs).
Convolutional neural networks (CNNs) are a particular kind
of artificial neural network that are used in picture
Fig. 2: Methodology for tumor detection using Layer Convolutional Neural Network
Fig. 3: Brain tumor detector analysis using CNN and VGG-16 Approach Model
Convolutional Layer: Convolutional Neural Network- Pooling Layer: Another part of CNN is the pooling
based. It has a few unique characteristics. It does much layer. The pooling layer usually appears after the
of the hard lifting in terms of computing. A group of convolutional layer. Its goal is to gradually reduce the
learnable filters comprise the CONV layer's parameters. spatial dimension of the representation so that more
Each filter spans the entire depth of the input volume control over fitting is possible by lowering the number of
despite being small (both in width and height). parameters and computation in the network. The Pooling
Layer resizes the input spatially while operating
Convolutional layer also contains a few fundamental independently on each depth slice. The input volume's
characteristics, like: depth dimension is unaffected by pooling.
Zero Padding: This technique, commonly referred to as In order to perform pooling, the input's sub-regions are
zero-padding, involves padding the input image with summarized using techniques like averaging, maximizing,
zeros in the input layer. By employing zero padding, we or minimizing the sub-regions' individual values. We refer
were able to regulate the input layer's size. It's possible to these as pooling functions.
to lose some of the edge attribute if zero-padding is not Different Kinds of Pooling Functions: The pooling layer
used. consists of some symmetric aggregation functions such
Local Connectivity: Unlike neural networks, which have as:
fully connected neurons, local networks have neurons Max Pooling: It returns the maximum value from its
that are only connected to a portion of the input image. rectangular neighborhood.
These characteristics lead to a more effective Average Pooling: It returns the maximum value from its
computation and a decrease in the total number of rectangular neighborhood.
Fully-Connected Layer: Similar to a neural network, The uneven black margins of MR pictures make it
each neuron in the fully connected layer is connected to difficult for CNN to adapt to the unique characteristics of
every other neuron in the layer above it. Similar to a each classifier. Amplitude normalization was used to reduce
neural network, it too is activated by matrix the intensity distribution within a typical range, producing a
multiplication with weight and bias. A fully connected normal range with a mean intensity value of 0 and a
layer is often a vector in columns. The connection standard deviation of 1. Initially, the images were
thresholded at a 45-degree angle to exclude any background
noise.
V. CHANGING PIXEL VALUES size for VGG-16 input layer is (224,224) some wide images
may look weird after resizing. Histogram of ratio
As may be seen, images have different width and distributions (ratio =width/height
height and defend size of "black corners".Since the image
VI. VISUALIZING THE IMAGES Distribute the image to the VGG16 model.
Extract the features from the model.
Convolutional neural networks (CNNs) like VGG16 Visualize the features.The VGG16 model will be loaded,
have been pre-trained using the ImageNet dataset. This the picture will be loaded, pre-processed, uploaded to the
indicates that it is already capable of recognizing the model, features will be extracted, and features will be
characteristics of objects in pictures. By extracting the visualized thanks to this code. A set of pictures
characteristics that the model was able to find, we may displaying the features that the VGG16 model has
utilize VGG16 to visualize photos. learned will be the code's output.
Here are the steps on how to visualize images on VGG16 is a potent tool for visualizing images. It can
VGG16: be used to recognize items in photos and to comprehend the
Import the VGG16 model from the Keras library. characteristics of images. It is a useful tool for engineers and
Load the image that you want to visualize. researchers studying computer vision.
Pre-process the image so that it is compatible with the
VGG16 model.
B. Model Performance With a top-5 error rate of 7.3%, VGG16 has attained
cutting-edge performance on the ImageNet dataset. This
CNNs and VGG16 are both convolutional neural indicates that 92.7% of the photos in the ImageNet dataset
networks, but they have different architectures and can be accurately classified by VGG16. On the other hand,
performance. depending on the scenario architecture and the dataset they
CNNs are a general neural network type that can be are trained on, CNNs can perform throughout a greater
applied to a variety of tasks, including image range. Nevertheless, in most cases, they can outperform
classification, object categorization detection, and VGG16 in picture classification tasks.
natural language processing. They are typically
composed of a series of convolution layers, pooling Training VGG16 is comparatively slow since it needs a
layers, and fully connected layers. large number of variables. On the other hand, CNNs require
VGG16 is a specific type of CNN that was designed for less parameters, thus they may be trained more quickly.
image classification. It is composed of 16 layers, with
each layer consisting of a convolution layer after which All things considered, VGG16 is a potent CNN that
comes a pooling layer. VGG16 was trained on the has produced cutting-edge outcomes on picture
ImageNet dataset, which contains over 14 million classification tasks. But it has a lot of settings and requires a
images across 1000 object classes. long time to train. CNNs, on the other hand, are faster to
train and have greater versatility. Additionally, they are
usually smaller than VGG16, which increases their
deployment efficiency.
Fig. 12: CNN VS VGG16 Hybrid Model For Brain Tumor Detection