FINAL DOCUMENT Mini Project
FINAL DOCUMENT Mini Project
FINAL DOCUMENT Mini Project
BACHELOR OF TECHNOLOGY
in
COMPUTER SCIENCE AND ENGINEERING - [INTERNET OF THINGS]
Submitted By
Mr.Ravindra Changala
Assistant Professor
This is to certify that this minor project report entitled “DETECTION OF LIVER CANCER USING
IMAGE PROCESSING TECHNIQUES MEDICAL DIAGNOSIS” by KARTHIK
REDDY(20WJ1A6940),SRIJA PADMAWAR(20WJ1A6935) and VOLLALA VIHA(20WJ1A6957) was
submitted in partial fulfillment of the requirements for the degree of Bachelor of Technology in Computer
Science and Engineering – Internet of things of the Guru Nanak Institutions Technical
Campus(Autonomous) during the academic year 2023-2024, is a Bonafide record of work carried out under
our guidance and supervision
External Examiner
COMPUTER SCIENCE & ENGINEERING - IOT
ML/DL
VISION
MISSION
M1: To establish an essential environment with state of the art infrastructure and highly
qualified faculty for imparting domain knowledge.
M2: To prepare the students with holistic personality by means of appropriate technical and
soft skills for solving real world problems.
M3: To enrich and empower student’s caliber for the positive societal contribution with
emerging technologies.
M4: Extensive partnerships and collaborations with Industries for technology up gradation.
We wish to express our sincere thanks to Chairman Sardar T.S.Kohli and Vice-
Chairman Sardar G.S.Kohli of Guru Nanak Institutions for providing us all
necessary facilities, resources and infrastructure for completing this project work.
We express a whole hearted gratitude to our Managing Director Dr. H. S. Saini for
providing strong vision in engineering education through accreditation policies under
regular training in upgrading education for the faculty members.
We express a whole hearted gratitude to our Director Dr. K. Venkata Rao for providing
us the constructive platform to launch our ideas in the area of Computer Science and
Engineering - [Internet of Things] and improving our academic standards.
We express a whole hearted gratitude to our Associate Director Dr. Rishi Sayal for
providing us the conducive environment for carrying through our academic schedules and
projects with ease.
We have been truly blessed to have a wonderful advisor Dr. M. I. Thariq Hussan, HOD
Department of Computer Science and Engineering - [Internet of Things] for guiding us to
explore the ramification of our work and we express our sincere gratitude towards him for
leading me throughout the project work.
We express our sincere thanks to all the faculties of Computer Science and Engineering -
[Internet of Things] department who helped us in every stage of our project by
providing their valuable suggestions and support.
DECLARATION
Date :
Place : GNITC
1. INTRODUCTION
1.1 GENERAL
1.2 OBJECTIVE
1.3 EXISTING SYSTEM
1.3.1 EXISTINGSYSTEM DISADVANTAGES
1.3.2 LITERATURE SURVEY
1.4 PROPOSED SYSTEM
1.4.1 PROPOSED SYSTEM ADVANTAGES
2. PROJECT DESCRIPTION
2.1 GENERAL
2.2 METHODOLOGIES
2.2.1 MODULES NAME
2.2.2 MODULES EXPLANATION
2.2.3 MODULE DIAGRAM
2.2.4GIVEN INPUTAND EXPECTED OUTPUT
2.3 TECHNIQUE OR ALGORITHM
3. REQUIREMENTS
3.1 GENERAL
5. SOFTWARE SPECIFICATION
5.1 GENERAL
IMPLEMENTATION
6. 6.1 GENERAL
6.2 IMPLEMENTATION
6.3 DATA BASE TABLE STRUCTURE
7. SNAPSHOTS
7.1 GENERAL
7.2 VARIOUS SNAPSHOTS
8. SOFTWARE TESTING
8.1 GENERAL
8.2 DEVELOPING METHODOLOGIES
8.3 TYPES OF TESTING
9.
APPLICATIONS AND FUTURE ENHANCEMENT
9.1 GENERAL
9.2 APPLICATIONS
9.3 FUTURE ENHANCEMENTS
10
10.1 CONCLUSION
10.2 REFERENCES
Detection Of Liver Cancer Using Image Processing Techniques
Medical Diagnosis
ABSTRACT:
Image processing is a processing technique with the help of mathematical operations. It uses any
of the form of signal processing. Here the input is an image or video and the output is also an
image or a set of image. This technique is also used in medical applications for various detection
and treatment. In this paper, it has been used to detect cancer cell of the liver. Here
ostu’s method is used for enhancing the MRI image and watershed method is used to
segment the cancer cell from the image.
LIST OF FIGURES
FIGURE NO NAME OF THE FIGURE PAGE NO.
2.3.2 Module Diagram
NOTATION
S.NO NAME NOTATION DESCRIPTION
Class Name
-private -attribute
Communication between
7. Communication various use cases.
Represents physical
modules which are a
collection of components.
14. Component
Represents physical
15. Node modules which are a
collection of components.
Represents communication
Transition
18. that occurs between
processes.
19. Object Lifeline Represents the vertical
dimensions that the object
communications.
LIST OF ABBREVATION
1. DB Database
MRI is a high quality imaging technique which produces the structure of human organ in more
defined manner and useful for diagnosis of diseases and Biological Research. The results of an
MRI image are greatly enhanced by automotive and accurate classification of image.
LITERATURE SURVEY:
Year: 2011
Description:
Automated and accurate classification of magnetic resonance (MR) brain images is a hot topic in
the field of neuroimaging. Recently many different and innovative methods have been proposed
to improve upon this technology. In this study, we presented a hybrid method based on forward
neural network (FNN) to classify an MR brain image as normal or abnormal. The method first
employed a discrete wavelet transform to extract features from images, and then applied
the technique of principle component analysis (PCA) to reduce the size of the features. The
reduced features were sent to an FNN, of which the parameters were optimized via an improved
artificial bee colony (ABC) algorithm based on both fitness scaling and chaotic theory. We
referred to the improved algorithm as scaled chaotic artificial bee colony (SCABC).
Moreover, the K-fold stratified cross validation was employed to avoid over fitting. In the
experiment, we applied the proposed method on the data set of T2-weighted MRI images
consisting of 66 brain images (18 normal and 48 abnormal). The proposed SCABC was
compared with traditional training methods such as BP, momentum BP, genetic algorithm, elite
genetic algorithm with migration, simulated annealing, and ABC. Each algorithm was run
20times to reduce randomness. The results show that our SCABC can obtain the least mean MSE
and 100% classification accuracy.
Title: MRI induced heating of deep brain stimulation leads: effect of the air-tissue interface
Author: S. A. Mohsin, N. M. Sheikh, and U. Saeed
Year: 2008
Description:
We have investigated the scattering of the Magnetic Resonance Imaging (MRI) radiofrequency
(RF) field by implants for Deep Brain Stimulation (DBS) and the resultant heating of the tissue
surrounding the DBS electrodes. The finite element method has been used to perform full 3-D
realistic simulations. The near field has been computed for varying distances of the connecting
portion of the lead from the air-tissue interface. Dissipated powers and induced temperature rise
distributions have been obtained in the region surrounding the electrodes. It is shown that the
near proximity of the air-tissue interface results in a reduction in the induced temperature rise.
Title: Effect of realistic modeling of deep brain stimulation on the prediction of volume
of activated tissue
Year: 2012
Description:
Title: Concentration of the Specific Absorption Rate Around Deep Brain Stimulation Electrodes
During MRI
Year: 2011
Description:
During Magnetic Resonance Imaging (MRI), the presence of an implant such as a Deep Brain
Stimulation (DBS) lead in a patient's body can pose a significant risk. This is due to the fact that
the MR Radiofrequency (RF) field can achieve a very high strength around the DBS electrodes.
Thus the specific absorption rate (SAR), which is proportional to the square of the magnitude of
the RF electric field, can have a very high concentration in the near-field region of the electrodes.
The resulting tissue heating can reach dangerous levels. The degree of heating depends on the
level of SAR concentration. The effects can be severe, leading to tissue ablation and brain
damage, and significant safety concerns arise whenever a patient with an implanted DBS lead is
exposed to MR scanning. In this paper, SAR, electric field, and temperature rise distributions
have been found around actual DBS electrodes. The magnitude and spatial distribution of the
induced temperature rises are found to be a function of the length and structure of the lead device,
tissue properties and the MR stimulation parameters.
Year: 2010
Description:
During the past decades there has been a tremendous increase throughout the scientific
community for developing methods of understanding human brain functionality, as diagnosis and
treatment of diseases and malfunctions, could be effectively developed through understanding of
how the brain
works. In parallel, research effort is driven on minimizing drawbacks of existing imaging
techniques including potential risks from radiation and invasive attributes of the imaging
methodologies. Towards that direction a new near field radiometry imaging system has
been theoretically studied, developed and experimentally tested and all of the aforementioned
research phases are herein presented. The system operation principle is based on the fact that
human tissues emit chaotic thermal type radiation at temperatures above the absolute zero. Using
phase shifted antenna array system, spatial resolution, detection depth and sensitivity are
increased. Combining previous research results, as well as new findings, the capabilities of the
constructed system, as well as the possibility of using it as a complementary method for brain
imaging are discussed in this paper.
1.4 Proposed System
The image enhancement technique is divided into two parts which are spatial domain technique
and frequency domain technique. In spatial domain technique the value of the pixel is changed
with respect to the requirement whereas the frequency domain technique deals with the rate of
change of pixels which are changing due to spatial domain. It cannot be determined that what
type of technique is good for image enhancement. There are many techniques for image
enhancement technique out of which we have use ostu’s method.
CHAPTER 2
PROJECT DESCRIPTION
2.1 GENERAL:
The image enhancement technique is divided into two parts which are spatial domain technique
and frequency domain technique. In spatial domain technique the value of the pixel is changed
with respect to the requirement whereas the frequency domain technique deals with the rate of
change of pixels which are changing due to spatial domain.
2.2 METHODOLOGIES
MODULE:
1. INPUT IMAGE
2. PRE PROCESSING
3. SEGMENTATION
4. FEATURE EXTRACTION:
5. CLASSIFICATION
INPUT IMAGE:
The first step is to find an image to do the further processing. MRI is a high quality imaging
technique which produces the structure of human organ in more defined manner and useful
for diagnosis of diseases and Biological Research.
PRE PROCESSING:
Image enhancement is image pre-processing stage. The purpose of the process of
image enhancement is to improve the image quality for the human eye. This process is also
require
to provide a better input image for further processing, so that the result of the image after
processing all the stages contains less errors.
SEGMENTATION:
We can divide or partition the image into various parts called segments. It’s not a great idea to
process the entire image at the same time as there will be regions in the image which do not
contain any information. By dividing the image into segments, we can make use of the important
segments for processing the image. That, in a nutshell, is how image segmentation works.
FEATURE EXTRACTION:
Image feature extraction is one of the most important technique of image processing Watershed
ridge and boundaries images. It uses different techniques and algorithm to isolate and
detect various shapes and portions of the image. The watershed label matrix and Superimposed
image. There are numerous techniques to apply this to the image. Wavelet transform is one of the
tool for feature extraction. The wavelet transform has a characteristic of analyzing the image with
varying unit of resolution and has multi resolution analytic property.
CLASSIFICATION:
Image processing is implemented to classify the liver cancer by training on these
examples. Different network configurations are experimented with to optimize the results of
cancer in the human body.
2.3 TECHNIQUE USED OR ALGORITHM USED
Otsu's method
It convert grey scale image into binary image. It assumes that the image contain two level of
pixel which are foreground pixel and background pixel (bi-modal histogram). It calculates the
optimum threshold by separating two classes. The result gives minimum combined-spread and
maximum inter-class variance.
CHAPTER 3
REQUIREMENTS ENGINEERING
3.1 GENERAL
In this paper, it has been used to detect cancer cell of the liver. Here ostu’s method is used for
enhancing the MRI image and watershed method is used to segment the cancer cell from the
image.
The software requirements document is the specification of the system. It should include both a
definition and a specification of requirements. It is a set of what the system should do rather than
how it should do it. The software requirements provide a basis for creating the software
requirements specification. It is useful in estimating cost, planning team activities, performing
tasks and tracking the teams and tracking the team’s progress throughout the development
activity.
SOFTWARE REQUIREMENTS
Platform : Spyder3
EFFICIENCY
Our multi-modal event tracking and evolution framework is suitable for multimedia documents
from various social media platforms, which can not only effectively capture their multi-modal
topics, but also obtain the evolutionary trends of social events and generate effective
event summary details over time. Our proposed mm ETM model can exploit the multi-modal
property of social event, which can effectively model social media documents including long
text with related images and learn the correlations between textual and visual modalities to
separate the visual-representative topics and non-visual-representative topics.
CHAPTER 4
DESIGN ENGINEERING
4.1 GENERAL
Design Engineering deals with the various UML [Unified Modeling language] diagrams
for the implementation of project. Design is a meaningful engineering representation of a thing
that is to be built. Software design is a process through which the requirements are translated into
representation of the software. Design is the place where quality is rendered in software
engineering. Design is the means to accurately translate customer requirements into
finished product.
UML Diagrams
Use case diagram
input
Preprocessing
Erosion
Doctor
Dilation
Segmentation
Feature extraction
Otsu's
Detection
EXPLANATION:
The main purpose of a use case diagram is to show what system functions are performed for
which actor. Roles of the actors in the system can be depicted. The above diagram consists of
user as actor. Each will play a certain role to achieve the concept.
Class Diagram
EXPLANATION
In this class diagram represents how the classes with attributes and methods are linked together to
perform the verification with security. From the above diagram shown the various classes
involved in our project.
Object Diagram
Doctor Preprocessing
Detection Segmentation
EXPLANATION:
In the above digram tells about the flow of objects between the classes. It is a diagram that
shows a complete or partial view of the structure of a modeled system. In this object
diagram represents how the classes with attributes and methods are linked together to
perform the verification with security.
Component Diagram
Deployment Diagram
Detection Segmentation
Feature
extraction
Sequence Diagram
Doctor System
1: Image
2: Preprocessing
3: Segmentation
4: Feature extraction
5: Detection
EXPLANATION:
2: Preprocessing
3: Segmentation
4: Feature extraction
1: Image
Doctor System
5: Detection
State Diagram
Image
Preprocessing
Erosion
Segmentation
Extraction
Detection
EXPLANATION:
State diagram are a loosely defined diagram to show workflows of stepwise activities
and actions, with support for choice, iteration and concurrency. State diagrams require that the
system described is composed of a finite number of states; sometimes, this is indeed the case,
while at other times this is a reasonable abstraction. Many forms of state diagrams exist,
which differ slightly and have different semantics.
Activity Diagram
Image
Preprocessing
Erosion
Segmentation
Extraction
Detection
EXPLANATION:
Image
Doctor
Detection
Preprocessing Background
Segmentation,
Extraction
Level1
Image
Detection
EXPLANATION:
A data flow diagram (DFD) is a graphical representation of the "flow" of data through an
information system, modeling its process aspects. Often they are a preliminary step used to create
an overview of the system which can later be elaborated. DFDs can also be used for
the visualization of data processing (structured design).
A DFD shows what kinds of data will be input to and output from the system, where the
data will come from and go to, and where the data will be stored. It does not show information
about the timing of processes, or information about whether processes will operate in sequence or
in parallel.
System Architecture
CHAPTER 5
DEVELOPMENT TOOLS
Python
HistoryofPytho
n
Python was developed by Guido van Rossum in the late eighties and early nineties at the
National
Research Institute for Mathematics and Computer Science in the Netherlands.
Python is derived from many other languages, including ABC, Modula-3, C, C++, Algol-
68, Smalltalk, and Unix shell and other scripting languages.
Python is copyrighted. Like Perl, Python source code is now available under the GNU General
Public License (GPL).
Python is now maintained by a core development team at the institute, although Guido
van
Rossum still holds a vital role in directing its progress.
Importance of Python
Python is Interpreted − Python is processed at runtime by the interpreter. You do not
need to compile your program before executing it. This is similar to PERL and PHP.
Python is Interactive − You can actually sit at a Python prompt and interact with the
interpreter directly to write your programs.
Python is Object-Oriented − Python supports Object-Oriented style or technique
of programming that encapsulates code within objects.
Features of Python
Easy-to-learn − Python has few keywords, simple structure, and a clearly defined syntax.
This allows the student to pick up the language quickly.
Easy-to-read − Python code is more clearly defined and visible to the eyes.
A broad standard library − Python's bulk of the library is very portable and
cross- platform compatible on UNIX, Windows, and Macintosh.
Interactive Mode − Python has support for an interactive mode which allows interactive
testing and debugging of snippets of code.
Portable − Python can run on a wide variety of hardware platforms and has the same
interface on all platforms.
Extendable − You can add low-level modules to the Python interpreter. These modules
enable programmers to add to or customize their tools to be more efficient.
GUI Programming − Python supports GUI applications that can be created and ported
to many system calls, libraries and windows systems, such as Windows MFC,
Macintosh, and the X Window system of Unix.
Scalable − Python provides a better structure and support for large programs than shell
scripting.
Apart from the above-mentioned features, Python has a big list of good features, few are listed
below −
It can be used as a scripting language or can be compiled to byte-code for building large
applications.
It provides very high-level dynamic data types and supports dynamic type checking.
It can be easily integrated with C, C++, COM, ActiveX, CORBA, and Java.
scikit-learn - the machine learning algorithms used for data analysis and data mining
tasks.
IMPLEMENTATION
6.1 GENERAL
Coding:
CHAPTER 7
SNAPSHOTS
General:
This project is implements like application using python and the Server process is maintained
using the SOCKET & SERVERSOCKET and the Design part is played by Cascading Style
Sheet.
SNAPSHOTS
CHAPTER 8
SOFTWARE TESTING
8.1 GENERAL
The purpose of testing is to discover errors. Testing is the process of trying to discover
every conceivable fault or weakness in a work product. It provides a way to check the
functionality of components, sub-assemblies, assemblies and/or a finished product It is the
process of exercising software with the intent of ensuring that the Software system meets its
requirements and user expectations and does not fail in an unacceptable manner. There are
various types of test. Each test type addresses a specific testing requirement.
8.3Types of Tests
Any project can be divided into units that can be further performed for detailed processing. Then
a testing strategy for each of this unit is carried out. Unit testing helps to identity the possible
bugs in the individual component, so the component that has bugs can be identified and can be
rectified from errors.
CHAPTER 9
FUTURE ENHANCEMENT
so our future works includes creating a GUI and enabling a single click feature extraction using
wavelet transform, with the accuracy.
CHAPTER 10
10.1 CONCLUSION
Different MRI Images where acquired from the internet, basic Otsu preprocessing technique was
used, for segmentation Marker-Controlled Watershed Segmentation was used and it was
observed that for a few images’ segmentation was done correctly, so our future works includes
creating a GUI and enabling a single click feature extraction using wavelet transform, with the
accuracy.
REFERENCES
[1] Zhang, Y., L. Wu, and S. Wang, “Magnetic resonance brain image classification by
an improved artificial bee colony algorithm,” Progress In Electromagnetics Research, Vol. 116,
65–
79, 2011.
[2] Mohsin, S. A., N. M. Sheikh, and U. Saeed, “MRI induced heating of deep brain stimulation
leads: Effect of the air-tissue interface,” Progress In Electromagnetics Research, Vol. 83, 81–91,
2008.
[3] Golestanirad, L., A. P. Izquierdo, S. J. Graham, J. R. Mosig, and C.Pollo, “Effect of realistic
modeling of deep brain stimulation on the prediction of volume of activated tissue,” Progress In
Electromagnetics Research, Vol. 126, 1–16, 2012.
[4] Mohsin, S. A., “Concentration of the specific absorption rate around deep brain stimulation
electrodes during MRI,” Progress In Electromagnetics Research, Vol. 121, 469–484, 2011.
[5] Oikonomou, A., I. S. Karanasiou, and N. K. Uzunoglu,“Phasedarray near field radiometry for
brain intracranial applications,” Progress In Electromagnetics Research, Vol. 109, 345–360,
2010.
[6] Scapaticci, R., L. Di Donato, I. Catapano, and L. Crocco, “A feasibility study on microwave
imaging for brain stroke monitoring,” Progress In Electromagnetics Research B, Vol. 40, 305–
324, 2012.
[9] Emin Tagluk, M., M. Akin, and N. Sezgin, “Classification of sleep apnea by using wavelet
transform and artificial neural networks,” Expert Systems with Applications, Vol. 37, No. 2,
1600–
1607, 2010.