% Chapter 1

\chapter{Introduction} % Main chapter title

\label{Chapter1} % For referencing the chapter elsewhere, use \ref{Chapter1} 

\lhead{Chapter 1. \emph{Introduction}} % This is for the header on each page - perhaps a shortened title

%----------------------------------------------------------------------------------------

Many of the profound innovations in science and engineering start with metaphors presented in science fiction. The wireless information networking industry was motivated by the Captain Kirk's communicator in the 1960s science fiction series ``Star Trek''. The idea was formed in the early 1980s; the Federal Communications Commission (FCC) released the Industrial, Scientific and Medical (ISM) bands; the IEEE 802.11 standardization committee created the WLAN standard in 1997. After almost half a century, modern smart phones are what the evolution of the ``Star Trek'' communicator fantasy brought to us. Recently, another 1960s science fiction, the ``Fantastic Voyage'', in which a space craft with its crew were shrunken to become a micro-device capable of traveling inside human body to remove a brain clot, has stimulated a new wave of innovations science and engineering for the body area networking (BAN). That space craft lost its navigation capabilities and went through an unguided dramatic traveling experience within the human body before it exits through tears from the eye of the human subject. Today, endoscopy capsules are traveling inside the digestive system in the same way as the space craft in the fantastic voyage traveled and one can envision emergence of a number of other similar applications for micro-robots inside the human body. We don't have the technology to shrink the people; however, we have enough of remote control capabilities that we can have robots do operation inside body without an operator inside the craft.


\section{Video Capsule Endoscopy (VCE)}
In the past decade, miniaturization and cost reduction of semiconductor devices have allowed the design of small, low cost computing and wireless communication devices used as sensors in a variety of popular wireless networking applications and this trend is expected to continue in the next few decades. One of the leading wonders of this wireless networking breakthrough is the emergence of wireless video capsule endoscopy (VCE). The technology was introduced by the Given Imaging, Israel in 2000.and the U.S. Food and Drug Administration (FDA) approved its clinical use in 2001. Examination of the Gastro-Intestinal (GI) tract using VCE is commonly used for a number of diseases such as the inflammatory bowel disease, the ulcerative colitis and the colorectal cancer. VCE provides a unique visualization of bleedings and tumors in the middle parts of the small intestine, where traditional endoscopy and colonoscopy visualization techniques cannot reach. Small intestine is a 5-8 meters long curled path occupying the central part of the GI tract, therefore, the path of movement of the VCE inside the small intestineis very complex. Wireless video capsule endoscopy has been in use for over a decade and it uses radio frequency (RF) signals to transmit approximately fifty five thousands clear pictures of inside the GI tract to the body-mounted sensor array.

Wireless capsule endoscopy begins with the patient swallowing the capsule. The natural peristalsis moves the capsule smoothly and painlessly throughout the GI tract while it is transmitting color images taken by the camera at a rate of two images per second [26]. The VCE images allow the physician to visualize the entire GI tract without scope trauma and air insufflations. Comparing with the traditional gastroscopy and colonoscopy techniques, the VCE procedure is ambulatory allowing the patients to continue with their daily activities throughout the endoscopic examinations. In addition, the traditional techniques can only reach the first few or last several feet of the small intestine, while VCE provides images of the entire GI tract.

However, physician has no clue on the exact location of the capsule inside the GI tract to associate it with the pictures showing abnormalities such as bleeding or tumors. It is desirable to use the same RF signal for localization of the VCE as it passes through the human GI tract.

%----------------------------------------------------------------------------------------

\section{Localization inside Human Body}

In recent years, the feasibility of several technologies for localization of the VCE has been explored. These technologies can be divided into those using magnetic field or inertial systems, using image processing techniques and techniques using RF signals. In magnetic sensing based techniques, a magnet is inserted into the VCE and the VCE is located by measuring the magnetic field. This technique increases the weight and size of the VCE and the magnetic field of the VCE used for localization will be interfered by the external magnetic fields used for other applications such as the Magnetic Resonance Imaging (MRI) systems. One can also insert radiation opaque material into the VCE and trace the location of the VCE using X-ray or Computed Tomography (CT) scan. Continuous imaging using X-ray or CT scan is very expensive and it bears the health risks for the patient. Using the RF signal used for image transmissions for the VCE to also locate the capsule offers itself as a natural and low cost solution that does not add to the capsule complexity and payload. Therefore, it has been chosen for use with the smartpill capsule in USA and the M2A capsule in Israel. These companies use the RSS of the waveform for the purpose of localization of the VCE. A more accurate metric for localization is the TOA or the time of flight of the signal.

For RF based localization, a widely known benefit of TOA based techniques is their high accuracy compared to RSS based techniques. The TOA based technique relies on measurements of travel time of signals between the known reference nodes and unknown terminal nodes. Ranging information is calculated by multiplying the propagation velocity of RF signal and the measured TOA value. The testbed developed in [40] can be used to examine the performance of TOA localization in indoor areas under the influence of multipath scenario. On the other hand, the human body is formed of various organs with complex structures. Each organ has unique characteristics of conductivity and relative permittivity. Since propagation velocity inside human body is expressed as a function of the relative permittivity, medical implanted devices placed in different positions cause different propagation velocities due to the RF signal traveling through various tissues or organs. These variations in the speed are dominant source of error for TOA-based RF localization inside the human body. However, there is nothing available in the literature to compare the performances of the performances of the two approaches in particular in a realistic 3D scenario.

%----------------------------------------------------------------------------------------

\section{Motivation}

Wireless capsule endoscopy (WCE) is progressively emerging as a popular non-invasive imaging tool for gastrointestinal (GI) tract diagnosis. Compared with the traditional colonscope or enterscope, WCE has the capability of examining the entire small intestine, which other endoscopic instruments can not reach. However, since the length of small intestine is too long (varies from 5m to 9m and it is twisted inside the abdominal cavity with extremely indistinguishable distribution, the localization of the capsule inside small intestine becomes very challenging, which prevents physicians from administering immediate therapeutic operations after an abnormality is found by the video source. Thus, having a precise and reliable localization system for the capsule inside the small intestine would greatly enhance the benefits of WCE. 

During the past few years, many attempts have been made to develop accurate and reliable localization systems for the WCE. A commonly used localization infrastructure, which has been chosen for commercial use for M2A capsule designed by Given Imaging, is to attach many calibrated external antennas to the anterior abdominal wall of the human body to detect the RF signal emitted by the wireless capsule . By interpreting the power of the received signal into distance between the capsule and body mounted sensor array, position of the capsule can be estimated by pattern matching algorithms such as least square algorithm and maximum likelihood algorithm . However, due to the non-homogeneity and severe attenuation of body tissues, features of the received signal are sometimes poorly correlated with the distance. Therefore, this RF localization system often end up providing discontinuous and scattered estimations with unacceptable amount of error.

One way to enhance the performance of RF localization is to combine the motion information of the capsule by employing a data fusion algorithm such like Kalman filter or particle filter. In the localization literature, there has been a trend to extract motion parameters from  image sequence to improve the accuracy of RF localization. This class of algorithms is known as video based simultaneous localization and mapping (SLAM) algorithms . In the WCE application, since the endoscopic capsule continually takes pictures with very short time interval (two frames / sec), it is possible to reconstruct motion information of the capsule from video stream . In this paper, we present a hybrid localization technique that is able to extract speed and moving direction of the endoscopic capsule from endoscopic image frames to aid the RF localization. The major contribution of this paper is that we explored the potential of using images as another source to track the position of WCE and we established a virtual platform to validate our algorithm.

%----------------------------------------------------------------------------------------

\section{Contributions}

In this paper, we present a hybrid localization technique that takes advantage of data fusion from image sequence captured by the WCE's embedded camera and the RSS of the RF signal emitted by the capsule to enhance the positioning accuracy. The proposed method estimates the speed and direction of movement of the capsule by analyzing displacements of feature points between consecutive image frames and this motion information is integrated with RSS measurements by employing a Kalman filter to smooth the RF localization results. The primary contribution of this thesis is that we establish a platform for comparative performance evaluation for localization inside human body and we explored the potential of using images to enhance the accuracy of RF localization. 

The thesis draws substantially from results presented previously in:

\begin{enumerate}
      \item K. Pahlavan, G. Bao, Y. Ye, S. Makarov, U. Khan ... K. Sayrafian, ``Rf localization for wireless video capsule endoscopy''. International Journal of Wireless Information Networks, Vol.19 (4), pp.326-340, 2012.    
      \item G. Bao, Y. Ye, U. Khan, X. Zheng and K. Pahlavan, ``Modeling of the Movement of the Endoscopy Capsule inside GI Tract based on the Captured Endoscopic Images'', The 2012 International Conference on Modeling, Simulation and Visualization Methods (MSV), Las Vegas, USA, July, 2012.
      \item G. Bao and K. Phalavan, ``Motion Estimation of the Endoscopy Capsule using Region-based Kernel SVM Classifier'', 2013 IEEE International Conference on Electro/Information Technology (EIT), Rapid City, SD, May 9-11, 2013.
      \item G. Bao, L. Mi and K. Phalavan, ``Emulation on Motion Tracking of Endoscopic Capsule inside Small Intestine'', 2013 World Congress in Computer Science,Computer Engineering, and Applied Computing (WORLDCOMP'13), Las Vegas, USA, 2013.
      \item G. Bao, L. Mi and K. Phalavan, ``A Video Aided RF Localization Technique for the Wireless Capsule Endoscope (WCE) inside Small Intestine'', 8th International Conference on Body Area Networks, Boston, Massachusetts, United States, September 30 - October 2, 2013.
      \item L. Mi, G. Bao and K. Phalavan, ``Design and Validation of a Virtual Environment for Experimentation inside the Small Intestine'', 8th International Conference on Body Area Networks, Boston, Massachusetts, United States, September 30 - October 2, 2013. 
      \item R. Fu, G. Bao and K. Pahlavan, ``Activity Classification with Empirical RF Propagation Modeling", 8th International Conference on Body Area Networks, Boston, Massachusetts, United States, September 30 - October 2, 2013.
\end{enumerate}

\section{Outline of the Dissertation}


This dissertation focuses on the hybrid localization which we called ``Body-SLAM'' for the wireless capsule endoscopy and testbed design for comparative performance evaluation of various localization algorithms inside human body. The dissertation is organized as follows:

\begin{itemize}
\item Chapter 1: Introduction to the thesis topic
\item Chapter 2: Background information and theory
\item Chapter 3: Methodology
\item Chapter 4: Testbed Design and Performance Evaluation
\item Chapter 5: Discussion of the experimental results
\item Chapter 6: Conclusion and future directions
\end{itemize}

%----------------------------------------------------------------------------------------

\begin{flushright}
Guide written by ---\\
Sunil Patel: \href{http://www.sunilpatel.co.uk}{www.sunilpatel.co.uk}
\end{flushright}
