Professional Documents
Culture Documents
Liver Cancer Full Report
Liver Cancer Full Report
Liver Cancer Full Report
A PROJECT REPORT
Submitted by
AKSHAYA R 180301004
JEEVITHA A 180301025
SWETHA R 180301092
of
BACHELOR OF ENGINEERING
In
BIOMEDICAL ENGINEERING
SIGNATURE SIGNATURE
ii
ACKNOWLEDGEMENT
We would like to express our immense sense of gratitude to our Head of the
Department Dr. S. Rajkumar for their valuable suggestions in improving the
project. We express our gratitude to our internal guide Mrs. M. Neela, Assistant
Professor for her support in bringing out this project successfully.
We would also like to thank our Project Coordinator Dr. M. C. Jobin Christ and
Dr. A. N. Nithya, Associate Professor for their encouragement and support
throughout the course of the project.
We express our gratitude to all who have helped us in effecting this project work.
We would like to place our sincere thanks to our Chairman Mr. S. Meganathan,
and Dr. Mrs. Thangam Meganathan our beloved chairperson. We wish to express
our intense sense of idolization and affluence to our Principal Dr. S. N.Murugeasan.
We are very grateful to all faculty and supporting staff members of Biomedical
Engineering Department, at Rajalakshmi Engineering College for their constant
help. Finally, we would like to express our gratitude to our Parents and friends who
have been very patient and supportive to us during the entire time we spent on this
project
iii
ABSTRACT
Liver Cancer is one of the most serious disease in human body because it cannot
detect in earlier stage so the diagnosis of the liver cancer is difficult for prediction
therefore detection in earlier stage of liver cancer is the main problem. If it is
detected earlier then it can be helpful for the medical treatment, but it is a challenging
task due to the cancer cell structure. To reduce such problems, segmentation and
detection techniques for scar tissue and normal tissue in liver image is used.
Computed Tomography (CT) is highly accurate for liver cancer diagnosis. Manual
identification of tumour done by trained physicians is a time consuming task and can
be subjective depending on the skill, expertise and experience of the physician. In
this paper, the sophisticated hybrid systems are proposed which is capable to
segment liver tumour from a liver CT image and detect the scar tissue and normal
tissue in liver tumour automatically.
iv
TABLE OF CONTENT
v
4.2 GRAY IMAGE 17
MATRIX(GLCM)
4.4.1 CORRELATION 20
4.4.2 CONTRAST 21
4.4.3 ENERGY 21
4.4.4 HOMOGENITY 22
4.5 ADAPTIVE HOSTOGRAM 23
EQUILIZATION
4.6 OTSU’S THRESHOLD 24
4.7 WATERSHED ALGORITHM 24
5 SYSTEM IMPLEMENTATION 26
5.1 DATA ANALYSIS AND 26
VISUALIZATION
5.2 ACQUIRING DATA 26
5.3 ANALYZING DATA 26
5.4 VISUALIZING DATA 27
5.5 PROGRAMMING AND ALGORITHM 27
DEVELOPMENT
vi
5.5.1 THE MATLAB LANGUAGE 27
5.6 DEVELOPMENT TOOLS 28
5.6.1 COMMAND WINDOW 28
5.6.2 MATLAB EDITOR 28
5.6.3 CODE ANALYZER 29
5.6.4 MATLAB PROFILER 29
6 SOFTWARE DESCRIPTION 30
6.1 MATLAB 30
6.2 MATLAB’S POWER OF 30
COMPUTATIONAL MATHEMATICS
6.3 FEATURES OF MATLAB 31
6.4 USE OF MATLAB 31
6.5 DIGITAL IMAGE PROCESSING 32
6.5.1 WORKING 32
6.6 SIGNAL PROCESSING 33
6.7 ANALOG IMAGE PROCESSING 33
6.8 DIGITAL IMAGE PROCESSING 34
6.9 IMAGE 34
6.10 HUMAN VOICE 34
7 OUTPUT 35
7.1 OUTPUT AND FEATURE VALUES 39
8 CONCLUSION 39
REFERENCE 40
vii
LIST OF TABLES
viii
LIST OF FIGURES
ix
LIST OF ABBREVIATIONS
CT Computed Tomography
x
CHAPTER-1
1.1 INTRODUCTION
Liver cancer is one of the most frequent diseases in the world, and it is the
leading cause of cancer-related death says WHO.
Hepatic cell carcinoma (HCC), which accounts for roughly 80% of all
primary liver malignancies and most individuals with chronic liver disease,
claimed the lives of 745,000 people globally in 2012.Early detection of HCC
can considerably enhance the cure rate for patients. The great spatial resolution
and fast scanning speed of computed tomography (CT) play an important role in
the detection and diagnosis of liver cancer. Surgical resection, interventional
therapy, and loco regional ablation are some of the most common therapeutic
options. In order to build a fine treatment programme, these treatment methods
require detailed information about tumours, such as their size, shape, and
location, prior to therapy. Carmelo Militello was the associate editor who
coordinated the review of this paper and approved it for publication in regular
clinical procedures. Radiologists with sufficient expertise and experience can
manually diagnose liver cancer. However, this is a time-consuming operation
that requires the radiologist to sift through hundreds of slices and many lesions
in a 3D CT scan. Automatic liver tumour segmentation, on the other hand, is a
tough task due to a variety of image acquisition techniques, contrast agents, and
contrast enhancement levels. Furthermore, differing scanner resolutions result in
varying intensities, and many distinct types of lesions, particularly tumour
subtypes, can arise in the liver. As a result, automatic tumour segmentation is
hampered by these many types of tumours with changing contrast levels (hyper-
1
/hypo-intense tumours). With the advancement of computer-aided diagnosis
(CAD) in recent decades, numerous machine-learning-based approaches for
automatic liver tumour segmentation on CT have been developed.
Courtesy: (https://images.app.goo.gl/LDXjjHCxCeXsinAy6)
2
1.1 TYPES OF LIVER CANCERS
3
1.1.1 LIVER CANCER SYMPTOMS
Most people don't have signs and symptoms in the early stages of primary liver
cancer. When signs and symptoms do appear, they may include:
• Loss of appetite
• Abdominal swelling
• Yellow discoloration of your skin and the whites of your eyes (jaundice)
4
liver disease have been associated to liver cancer. Primary liver cancer has been
linked to a number of cancer-causing compounds, including herbicides and chemicals
like vinyl chloride and arsenic. Smoking, especially when combined with alcohol
addiction, raises your risk. Aflatoxins, Cancer-causing compounds have also been
linked to a type of plant mould. Aflatoxin contamination can occur in wheat, peanuts,
rice, corn, and soybeans. These are unusual difficulties in most industrialised
countries, such as the United States. Other influences include androgen and oestrogen
hormones, as well as the dye thorotrast, which was originally used in medical tests.
Other variables that may increase your chances of getting liver cancer include:
• Your sex. Men are more likely to get hepatocellular carcinoma than
women.
5
CHAPTER 2
LITERATURE SURVEY
TITLE: Detection of Liver Cancer using Image Processing Techniques
YEAR: 2019
YEAR: 2018
This paper describes the evaluation and performance analysis of five image filtering
techniques, namely Kuan, Frost, Mean, Median and Speckle reducing anisotropic
diffusion filter (SRAD) from the spatial filtering process for liver US data.
An application of US hepatic liver cancer image was chosen and selected denoising
algorithms are applied to estimate the impact on the US speckle image signal.
Experiments are investigated based on Peak Signal-to-Noise Ratio (PSNR), Mean
Structural Similarity (MSSIM) and Mean square error (MSE). The result shows that
SRAD filter performs better than other denoising filters with a PSNR =31.11 dB,
MSE=31.07, MSSIM=0.895.
YEAR: 2018
YEAR: 2018
In order to classify the liver CT images and make the initial weight of the
convolution neural network to the optimal state. We propose a method of combine
the genetic algorithm and convolution neural network to classify the liver CT tumour
images which can be divided these liver CT images into two parts, have cancer and
no cancer. This method used the global optimization and survival of fittest features
of genetic algorithms and generated initial weight for convolution neural network by
the operation of selection and crossover and mutation. After improvement, learning
performance is better than traditional convolution neural network. According to
simulation, the method of combining the genetic algorithm and convolution neural
network has higher classification accuracy than traditional convolution neural
network and support vector machine. It can help medical-aided diagnosis better.
8
TITLE: Prediction of liver cancer using Conditional probability Bayes theorem
YEAR: 2017
The liver cancer which begins in the liver apart from moving from other part
of the body is called as a primary liver cancer. Cancer which spreads all other part
of the body and finally it reaches liver is called as secondary liver cancer. Liver is
one of the important part of the human. WHO surveys say out of 100,000 people,
around 30 people are suffered from liver cancer and mostly it affects the African and
Asian countries earlier. Nowadays it became a popular disease The most common
kind of a liver cancer is called as hepatocellular carcinoma, this particular affects
male rather than female. The liver cancer occurs mainly due to the more alcohol
consumption. Many data mining algorithms, Artificial intelligence concepts are used
to predict the liver cancer. The probability of predicting the liver cancer is performed
using the Bayes theory with the WEKA tool.
YEAR: 2017
TITLE: A Pragmatic approach for Detecting Liver Cancer using Image Processing
and Data Mining Techniques.
AUTHOR: Anisha P R, Kishor Kumar Reddy C
YEAR: 2015
Among the various cancers, liver cancer stands in the third position. Liver
10
cancer is generally diagnosed by three different test like blood test, image test and
biopsy. To make the task of detecting the liver cancer simpler, less time consuming,
an effective and efficient approach is adopted for the same. In this research a
computer aided diagnostic system for detecting liver cancer is put forward. The
proposed detection methodology makes use of MRI, CT and USG scan imagery. K
means clustering technique is adopted so as to segment the images in order to capture
the region of interest. Later, Haar wavelet transform is considered to compute the
threshold values for the region of interest. The experiment put forth gave an average
accuracy of 82% besides reducing the time complexity and computational
complexity of the test.
YEAR: 2015
12
CHAPTER 3
METHODOLOGY
This research aims to be the first link in using digital image processing
techniques to improve the evaluation of liver cancer. It was feasible to apply an
algorithm to a series of trial photos that yielded positive findings for wound and
location recognition thanks to the use of advanced object segmentation techniques
and a parameter that changes the system's sensitivity until the required results were
obtained. Re-dimensioning, space colour conversion, Gabor filter, and clustering
delimitation are all part of this stage. The contribution is a liver evaluation system that
can be a beneficial tool for doctors because it allows for the automatic detection of
cancer.
13
3.2.1 ADVANTAGES
Image enhancement
Image preprocessing
Image Acquistion (histogram
(gray image)
equalisation)
Watershed
Result
method
14
3.4 MONITORING UNIT
15
CHAPTER 4
MODULE DESCRIPTION
4.1IMAGE ACQUISITION:
4.3GRAY IMAGE:
16
Grayscale images are distinct from one-bit bi-tonal black-and-white images
which, in the context of computer imaging, are images with only two colours: black
and white (also called bilevel or binary images). Grayscale images have many shades
of gray in between.
Grayscale images can be the result of measuring the intensity of light at each
pixel according to a particular weighted combination of frequencies (or
wavelengths), and in such cases they are monochromatic proper when only a single
frequency (in practice, a narrow band of frequencies) is captured. The frequencies
can in principle be from anywhere in the electromagnetic spectrum (e.g. infrared,
visible light, ultraviolet, etc.).
If the original colour image has no defined colour space, or if the grayscale
image is not intended to have the same human-perceived achromatic intensity as the
colour image, then there is no unique mapping from such a colour image to a
grayscale image.
Colour images are often built of several stacked colour channels, each of them
representing value levels of the given channel. For example, RGB images are
composed of three independent channels for red, green and blue primary colour
components; CMYK images have four channels for cyan, magenta, yellow and black
ink plates, etc.
17
Here is an example of colour channel splitting of a full RGB colour image.
The column at left shows the isolated colour channels in natural colours, while at
right there are their grayscale equivalences:
The reverse is also possible: to build a full colour image from their separate
grayscale channels. By mangling channels, using offsets, rotating and other
manipulations, artistic effects can be achieved instead of accurately reproducing the
original image.
18
4.4 GABOR FILTER
In image processing, a Gabor filter, named after Dennis Gabor, is a linear filter
used for texture analysis, which means that it basically analyzes whether there
areany specific frequency content in the image in specific directions in a
localizedregion around the point or region of analysis.
19
4.5.1 Correlation:
It passes the calculation of the correlation of a pixel and its neighbour over
the whole image means it figures out the linear dependency of gray levels on those
of neighbouring pixels. On behalf a perfectly positively or negative correlated
image, the correlation value is 1 and-1.On behalf of constant image its value is
NaN..Range=[-1,1] and the formula is
4.5.2Contrast:
It passes the calculation of the correlation of a pixel and its neighbour over
the whole image means it figures out the linear dependency of gray levels on those
of neighbouring pixels. On behalf a perfectly positively or negative correlated
image, the correlation value is 1 and-1. On behalf of constant image its value is
NaN..Range=[-1,1] and the formula is
4.5.3Energy:
Since energy is used for doing work, Thus order lines. It makes use for the
texture that calculates orders in an image. It gives the sum of square elements in
GLCM. It is fully different from entropy. When the window is proficient orderly,
energy value is high. The square root of ASM(Angular Second Moment) texture
20
character is used as Energy. Its range is [0 1]. Since constant image its value is
1.Theequation of energy is
4.5.4Homogenity:
In short term it is going by the name of HOM. It passes the value that
calculates the tightness of distribution of the elements in the GLCM to the GLCM
diagonal. For diagonal GLCM its value is 1 and its range is [0,1]. Opposite of
contrast weight is homogeneity weight values, withweight decreases exponentially
loose from thediagonal. The weight employed in contrast is (i-j)^2and in
homogeneity ,it is 1/1+(i-j)^2.The equation is
where:
μ -the GLCM mean (being an estimate of the intensity of all pixels in the
relationships that contributed to the GLCM), calculated as:
Note: This also approximates, but is not identical to, the mean of all the pixels in the
data window W (as defined by the GLCM algorithm), and it is dependent upon the
choice of spatial relationship in that algorithm.
22
Fig 5.4.1 GLCM Output
4.6ADAPTIVE HISTOGRAM EQUALIZATION:
23
the parts we are not concerned with Otsu method is a clustering based image
thresholding. It works when the histogram is bimodal. The method basically
tries to minimize the within class variance and at the same time it maximizes
the between class variance.
Total variance=Within class variance +Between Class Variance.
24
assigns each pixel either to a region or a watershed. With noisy medical image data,
a large number of small regions arises. This is known as the “over-segmentation”.
25
CHAPTER 5
SYSTEM IMPLEMENTATION
MATLAB provides tools to acquire, analyze, and visualize data, enabling you
to gain insight into your data in a fraction of the time it would take using spreadsheets
or traditional programming languages. You can also document and share your results
through plots and reports or as published MATLAB code
5.2Acquiring Data
MATLAB lets you access data from files, other applications, databases, and
external devices. You can read data from popular file formats such as Microsoft
Excel; text or binary files; image, sound, and video files; and scientific files such as
net CDF and HDF. File I/O functions let you work with data files in any format.
Using MATLAB with add-on products, you can acquire data from hardware devices,
such as your computer’s serial port or sound card, as well as stream live, measured
data directly into MATLAB for analysis and visualization. You can also
communicate with instruments such as oscilloscopes, function generators, and signal
analyzers.
5.3Analyzing Data
MATLAB lets you manage, filter, and preprocess your data. You can perform
exploratory data analysis to uncover trends, test assumptions, and build descriptive
26
models. MATLAB provides functions for filtering and smoothing, interpolation,
convolution, and fast Fourier transforms (FFTs). Add-on products
providecapabilities for curve and surface fitting, multivariate statistics, spectral
analysis,image analysis, system identification, and other analysis tasks.
5.4Visualizing Data
MATLAB provides built-in 2-D and 3-D plotting functions, as well as volume
visualization functions. You can use these functions to visualize and understand data
and communicate results. Plots can be customized either interactively or
programmatically. The MATLAB plot gallery provides examples of many ways to
display data graphically in MATLAB. For each example, you can view and
download source code to use in your MATLAB application.
MATLAB provides a high-level language and development tools that let you
quickly develop and analyze algorithms and applications.
The MATLAB language provides native support for the vector and matrix
operations that are fundamental to solving engineering and scientific problems,
enabling fast development and execution. With the MATLAB language, you can
write programs and develop algorithms faster than with traditional languages
because you do not need to perform low-level administrative tasks such as declaring
variables, specifying data types, and allocating memory. In many cases, the support
for vector and matrix operations eliminates the need for for-loops. As a result, one
line of MATLAB code can often replace several lines of C or C++ code. MATLAB
27
provides features of traditional programming languages, including f low control,
error handling, and object-oriented programming (OOP). You can use fundamental
data types or advanced data structures, or you can define custom data types. You
canproduce immediate results by interactively executing commands one at a time.
This approach lets you quickly explore multiple options and iterate to an optimal
solution. You can capture interactive steps as scripts and functions to reuse and
automate your work. MATLAB add-on products provide built-in algorithms for
signal processing and communications, image and video processing, control
systems, and many other domains. By combining these algorithms with your own,
you can build complex programs and applications.
28
5.6Development Tools
5.6.1 Command Window –Lets you interactively enter data, execute commands
and programs, and display results
5.6.2 MATLAB Editor–Provides editing and debugging features, such as setting
break points and stepping through individual lines of code. Code Analyzer–
Automatically checks code for problems and recommendsmodifications to
maximize performance and maintainability
29
CHAPTER 6
SOFTWARE DESCRIPTION
6.1 MATLAB:
• Algebraic Equations
• Non-linear Functions
• Statistics
• Data Analysis
• Numerical Calculations
• Integration
• Transforms
• Curve Fitting
6.3FEATURES OF MATLAB:
32
6.5.1 WORKING:
In the above figure, an image has been captured by a camera and has been
sent to a digital system to remove all the other details, and just focus on the water
drop by zooming it in such a way that the quality of the image remains the same.
6.6SIGNAL PROCESSING:
Out of all these signals, the field that deals with the type of signals for which
the input is an image and the output is also an image is done in image processing.
As it name suggests, it deals with the processing on images. It can be further
dividedinto analog image processing and digital image processing.
33
6.7 ANALOG IMAGE PROCESSING:
Digital image processing has dominated over analog image processing with
the passage of time due its wider range of applications.
6.8DIGITAL IMAGE PROCESSING
The digital image processing deals with developing a digital system that
performs operations on an digital image.
6.9IMAGE:
The value of f(x,y) at any point is gives the pixel value at that point of an
image.The above figure is an example of digital image that you are now viewing on
your computer screen. But actually , this image is nothing but a two dimensional
array of numbers ranging between 0 and 255.
34
6.10 HUMAN VOICE
Human voice is an example of analog signals. When you speak, the voice that is
produced travel through air in the form of pressure waves and thus belongs to a
mathematical function, having independent variables of space and time and a value
corresponding to air pressure.
35
CHAPTER-7
RESULT AND DISSCUSSION
7.1 OUTPUT
36
7.1.2 IMAGE PREPROCESSING
38
7.1.6 OTSU’S THRESHOLD
39
In fig 7.1.7 after extracting sure background and foreground images from
otsu’s method this watershed algorithm uses markers which will make
watershed run and detect the exact boundaries.This algorithm helps in detecting
touching and overlapping objects in the image
40
CHAPTER-8
CONCLUSION AND FUTURE SCOPE
Different CT Images were acquired from the internet, and the images
undergo basic Otsu preprocessing technique for threshold verification to classify the
images as foreground and background. Watershed Segmentation is used for
segmenting the image. After processing the image, it provides information about
different stages of cancer like early, medium and mature stage to provide perfect
indication to doctor , so that they could give a treatment according the stage.. It
was observed that for a few images, segmentation was done correctly. So the future
works includes creating a GLCM feature extraction and giving the stage of the
cancer with accuracy. Increasing the accuracy of the images provide a clear
explanation to the doctors and technicians. It also helps to diagnose the cancer
quickly and provide timely treatment to the patients.
41
REFERENCE
3.M. Emin Tagluk, 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, pp. 1600-1607, 2010.
5.S. A. Mohsin, "Concentration of the specific absorption rate around deep brain
stimulation electrodes during MRI", Progress In Electromagnetics Research, vol.
121, pp. 469-484, 2011.
6.S. A. Mohsin, 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, pp. 81-91, 2008.
42
8.R. Scapaticci, 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, pp. 305-324, 2012.
43