Journal of Medical Engineering

Volume 2013 (2013), Article ID 193578, 15 pages

http://dx.doi.org/10.1155/2013/193578

## A MATLAB-Based Boundary Data Simulator for Studying the Resistivity Reconstruction Using Neighbouring Current Pattern

Department of Instrumentation and Applied Physics, Indian Institute of Science Bangalore, Bangalore, Karnataka 560012, India

Received 30 August 2012; Revised 14 December 2012; Accepted 28 December 2012

Academic Editor: Nicusor Iftimia

Copyright © 2013 Tushar Kanti Bera and J. Nagaraju. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

#### Abstract

Phantoms are essentially required to generate boundary data for studying the inverse solver performance in electrical impedance tomography (EIT). A MATLAB-based boundary data simulator (BDS) is developed to generate accurate boundary data using neighbouring current pattern for assessing the EIT inverse solvers. Domain diameter, inhomogeneity number, inhomogeneity geometry (shape, size, and position), background conductivity, and inhomogeneity conductivity are all set as BDS input variables. Different sets of boundary data are generated by changing the input variables of the BDS, and resistivity images are reconstructed using electrical impedance tomography and diffuse optical tomography reconstruction software (EIDORS). Results show that the BDS generates accurate boundary data for different types of single or multiple objects which are efficient enough to reconstruct the resistivity images for assessing the inverse solver. It is noticed that for the BDS with 2048 elements, the boundary data for all inhomogeneities with a diameter larger than 13.3% of that of the phantom are accurate enough to reconstruct the resistivity images in EIDORS-2D. By comparing the reconstructed image with an original geometry made in BDS, it would be easier to study the inverse solver performance and the origin of the boundary data error can be identified.

#### 1. Introduction

Electrical impedance tomography (EIT) [1, 2] reconstructs the spatial distribution of electrical conductivity or resistivity of a closed conducting domain () from the surface potentials developed by a constant current injection through the surface electrodes surrounding the domain to be imaged. Before carrying out the practical measurements on patients, it is advised to test an EIT system with a tissue mimicking model of known properties [3] called practical phantoms [4–10]. Hence, phantoms are often required to assess the performance of EIT systems for their validation, calibration, and comparison purposes. Two-dimensional (2D) EIT (2D-EIT) assumes that the electrical current flows in a 2D space which is actually three-dimensional inside real volume conductors. Hence, the development of a perfect 2D practical phantom is a great challenge as the real electrodes always have a definite surface area, and hence the injected current signal cannot be confined in a 2D plane in bathing solution [5]. Researchers have developed a number of practical phantoms which are three-dimensional objects, and those phantoms are designed and developed, generally, for their own EIT systems. Practical phantoms containing electrolyte (or other conducting medium) [4–10] are three-dimensional in shape and hence they will have some data error due to the three dimensional current conduction. Also, the phantoms containing electrolytes (e.g., NaCl solution or saline) [5, 7, 8] are difficult to transport and are prone to errors since the evaporation of the water gives rise to changes in conductivity [9]. In addition, temperature variations have a marked effect on the conductivity because the temperature coefficient is large [11]. Therefore, the practical phantoms will have a poor stability and a gradually increasing data error over time. Network or mesh phantoms [12, 13] are compact, more stable, rugged, portable, easy to move, consistent over time, and less temperature dependent. But these phantoms need a huge number of identical electronic components properly designed in a mesh mimicking the conductivity distribution of a practical biological tissue. Furthermore, for a large tissue structure, a mesh phantom requires a huge number of very precision components. The reproduction of these kinds of phantoms having different properties is often time-consuming [14]. The option for changing the position and property of an inhomogeneity is limited by the phantom structure and the number of elements in mesh phantom but the practical phantoms allow us to put several types of object in different positions in the bathing solution, but they produce several errors contributing to the poor signal to noise ratio (SNR) in boundary data.

Reconstructed image quality in impedance tomography depends on the errors associated with practical phantom, electronic hardware, and inverse solver performance. Image quality is largely affected by the practical phantom design parameters such as phantom geometry, electrode geometry, electrode materials, and the nature and behavior of the inhomogeneity and bathing solution. SNR is also reduced by the error contributed by current injector, data acquisition system, and signal conditioner circuits. In practical phantoms, the voltage data developed by a three-dimensional current conduction are collected form surface electrodes connected to an analog instrumentation. Therefore, it is quite confusing to identify the source of the errors responsible for poor image quality in a 2D-EIT system. In order to overcome the difficulties and limitations of practical and mesh phantoms, a MATLAB-based boundary data simulator (BDS) is developed to generate accurate 2D boundary data for assessing the EIT inverse solvers. BDS is an absolute 2D data simulator which is required to generate the errorless 2D boundary data to study and modify the inverse solver of a 2D EIT system. As the BDS is a computer program, it is free from the instrumentation errors and allows us to generate voltage profile with different types of phantom geometry, inhomogeneity and background conductivity profile, and inhomogeneity geometry (shape, size, and position). Moreover, it is absolutely stable, compact, easy to use, and easy to handle and modify for further development. Boundary data for different phantom geometries are generated in BDS, and resistivity images are reconstructed in standard reconstruction algorithm. BDS is studied to conform its suitability to use for boundary data generation with different phantom configurations which are required to assess the EIT inverse solvers.

#### 2. Methods

##### 2.1. Mathematical Modelling of EIT

EIT image reconstruction is a nonlinear inverse problem [15] in which the electrical conductivity distribution of a closed domain () in a volume conductor is reconstructed from the surface potential data developed at the boundary by injecting a constant current signal. A low frequency and low magnitude constant sinusoidal current is injected through an array of electrodes attached to the boundary, and the boundary potentials are measured using a data acquisition system. The voltage data collected from surface electrodes are then used by an image reconstruction algorithm [15] which reconstructs the conductivity distribution of the domain under test (DUT). The reconstruction algorithm computes the boundary potential for a known current injection and known conductivity values and tries to compute the conductivity distribution for which the difference between the measured boundary potential () and the calculated is minimum. The reconstruction algorithm is developed with two parts: forward solver (FS) [5, 15–17] and inverse solver (IS) [15–17]. Forward solver calculates the boundary potential data for a known current injection and known conductivity values. Inverse solver computes the conductivity distribution for which the boundary voltage difference () becomes minimum.

The DUT will have the distinct conductivity values at each points defined by their corresponding coordinates (). Due to a constant current injection, a potential profile is developed within DUT, and its potential profile without any internal energy sources depends on the conductivity profile. Hence, a relationship, called EIT governing equation, between the electrical conductivity () of the points within the DUT and their corresponding potential values () can be established. The governing equation in EIT [1, 2] can be derived from the Maxwell’s equation and can be represented as

To calculate the domain potential developed for a constant current injected to the DUT with a known conductivity distribution, the above equation is essentially to be solved. As the EIT governing equation is a nonlinear partial differential equation, the direct or analytical technique fails to solve it. Therefore, to calculate the domain potential, the equation is solved by developing a mathematical model called “forward model” which is derived from (1) using a numerical technique like finite element method (FEM) [18].

The EIT governing equation has an infinite number of solutions, and hence the FEM formulation of the EIT technique is essentially required to be provided by some boundary conditions [18–20] to restrict its solutions space. The boundary conditions are imposed into the FEM formulation of EIT by specifying the value of certain parameters (voltage or current). The parameters defining the boundary conditions may be either the potentials at the surface or the current density crossing the boundary or mixed conditions.

The boundary conditions, in which the parameters are the potential at the surface, are called the *Dirichlet* boundary conditions and are represented as [1, 5, 19, 20]
where are the measured potentials on the electrodes.

The boundary conditions, in which the parameters are current density crossing the boundary, are known as the *Neumann* boundary conditions [1, 5, 19, 20] which are given by

where is the boundary, and is the outward unit normal vector on an electrode surface.

In EIT, the FEM technique is used to derive the forward model from the governing equation in the form of a matrix equation establishing the relationship between the injected current and the developed potential within a DUT. The relationship can be assumed as the transfer function of the system which is mathematically represented as a matrix called global stiffness matrix (GSM) [18] or transformation matrix constructed with the elemental conductivities and nodal coordinates (). In EIT, FEM discretizes the DUT by a finite element mesh containing finite number of elements of defined geometry and finite number of node. FEM applied on the governing equation to derive the forward model of a DUT in the form of a matrix equation using the and nodal coordinates. In the EIT forward model, the relationship established between the current injection matrix (matrix of the applied signal) and the nodal potential matrix (matrix of the developed signal) through the transformation matrix is mathematically represented as

Now, in FEM formulation in EIT, when the current matrices and are known, and the nodal potential matrix is unknown, the forward model or the mathematical problem is termed as the “*forward problem*”. The procedure of calculating the by solving the forward problem (3) with known and known is termed as “*forward solution*”. In EIT, the forward solver first computes the potential distribution with the assumed initial conductivity distribution () with a known constant current simulation, and then the inverse solver reconstructs the conductivity distribution from the measured boundary potential data for a same constant current injection through surface electrodes. The EIT reconstruction algorithm tries to mathematically find the elemental conductivity values (conductivity distribution) for which the difference between the estimated nodal potentials () computed in the FS and the potentials measured () on the surface electrodes (for a same current injection values) becomes minimum.

The inverse solver of the EIT reconstruction algorithm is developed with a mathematical minimization algorithm (MMA) [19–22] such as Gauss-Newton-based mathematical minimization algorithm (GN-MMA). In GN-MMA, the conductivity update vector () is calculated and the boundary data mismatch vector () is minimized by an iteration technique like the modified Newton-Raphson iteration technique (NRIT) [19–22]. The matrix is the desired variation in the elemental conductivity values in matrix for which the forward solver calculates the boundary potentials more similar to the measured value in next iteration using NRIT. Therefore, the algorithm starts with an initial elemental conductivity vector (), and it is then updated to () in the next iteration. Using this , FS calculates a new potential distribution in DUT and a new voltage mismatch vector is thus obtained and compared with the previous voltage mismatch vector . If the is not found as the minimum, the iteration process is continued till the *k*th iteration using the conductivity update vector () developed by GN-MMA. Using, NRIT the matrix is iteratively updated to and repetitively tries to find out the minimum value of .

Hence, in the EIT inverse solver, it is understood that the desired elemental conductivity matrix is obtained by a minimization algorithm (MMA) which is composed of Gauss-Newton method and Newton-Raphson iteration in which the technique iteratively tries to find out an optimum conductivity distribution for which the voltage mismatch vector is minimized . At a particular iteration in this MMA, the elemental conductivity matrix is calculated when the current matrices and or are known. This process is logically an opposite process to the forward problem. Thus, when the current matrices and are known, and the elemental conductivity matrix is unknown, the model or the problem is called the “*inverse problem*.” The procedure of calculating the or using with known and the known is termed as “*inverse solution*.”

##### 2.2. Image Reconstruction with GN-MMA and NRIT

Electrical conductivity imaging is a highly nonlinear and ill-posed inverse problem [19–22]. In EIT, a minimization algorithm is used to obtain an optimized elemental conductivity value for which the voltage mismatch vector becomes minimum. In the image reconstruction process, the minimization algorithm [17, 18] first defines an objective function () from the computational predicted data and the experimental measured data and runs iteratively to minimize it. Generally, in the EIT image reconstruction algorithm, the inverse solver searches for a least square solution of the minimized object the function () using by a Gauss-Newton method and the NRIT-based iterative approximation techniques.

If is a function mapping a *t*-dimensional (*t* is the number of element in the FEM mesh) impedance distribution into a set of *M* (number of the experimental measurement data () available) approximate measured voltages, then the Gauss-Newton-method-based minimization algorithm [19–26] tries to find a least square solution of the minimized object function (s) [19–26] which is defined as:

Now, differentiating (4) with respect to the conductivity , it reduces to where the matrix is known as Jacobin matrix [19–22], which may be calculated by a method as described in [19, 22] or by the adjoint method [23] represented by (6) where is the forward solution for a particular source location, and is the forward solution for the adjoint source location (source at the detector location and detector at the source location).

Differentiating (5) with respect to again, the equation reduces to

By Gauss-Newton method, the conductivity update vector is given by

Thus, the conductivity update vector is given by
where the higher-order term is known as the *Hessian matrix *[24]. In (9) by neglecting , the update conductivity vector reduces to

In general, using NRIT method, the conductivity update vector expressed as in (10) can be represented for *k*th iteration (where is a positive integer) as
where and are the voltage mismatch matrix and Jacobian matrix, respectively.

The matrix in (11) is always ill conditioned [19–24], and hence small measurement errors will make the solution of (11) changes greatly. In order to make the system well posed, the regularization method [19–26] is incorporated into the reconstruction algorithm by redefining the object function [19–26] with regularization parameters as where is the constrained least-square error of the regularized reconstructions, is the regularization operator, and (the positive scalar) is called the regularization coefficient [19–26]

Differentiating the inject function in (12) with respect to the elemental conductivity: the following relations are obtained

Now, using Gauss-Newton- (GN-) method-based minimization process, the conductivity update vector is obtained as

Neglecting the *Hessian matrix *[24] in (15)

Replacing by and by (identity matrix) (21) reduces to

where the matrix is the Jacobin as stated earlier.

Thus, the conductivity update vector () is found as

Sometimes, the last term () is neglected [22], and the conductivity update vector is calculated as

In general, the EIT image reconstruction algorithm provides a solution of the conductivity distribution of the DUT for the *k*th iteration as

The EIT algorithm starts with the solution of FP obtained from the EIT governing equation, and the is calculated for a known current injection matrix and an initial guess (known or assumed) conductivity matrix . The voltage mismatch matrix is estimated, and then it is used to calculate the conductivity update matrix using GN-MMA and is added to the initial conductivity matrix () to update it to a new conductivity matrix using NRIT. New update matrix is used in forward solver to obtain a new calculated boundary data matrix which provides a new voltage mismatch matrix . Therefore, the NRIT algorithms iteratively calculate the using GN-MMA to find out an optimized matrix for which the reaches its minimum value. Thus, the EIT reconstruction algorithm is found to work in the following sequences:(1)forward solver calculates the boundary potential matrix for a known current injection matrix and an initial guess (known) conductivity matrix ,(2)measured voltage data matrix is compared with to estimate the as ,(3)Jacobian () is computed,(4)conductivity update vector is calculated by Gauss-Newton-based minimization algorithm,(5) matrix is updated to a new conductivity matrix by adding to using Newton-Raphson iteration technique (NRIT),(6)new update matrix is used in forward solver to calculate the new voltage mismatch matrix ,(7)check whether the is minimum or not or compare the with a specified error limit () if provided,(8)stop the algorithm if condition is achieved, otherwise repeat the steps 1 to 7 until the specified stopping criteria () is achieved.

##### 2.3. Boundary Data Simulator (BDS)

A two-dimensional boundary data simulator (BDS) is developed in MATLAB R2010a [27] using finite element method (FEM) [15] to generate accurate boundary data for studying the EIT reconstruction algorithms. The MATLAB-based BDS is developed as an absolute 2D data simulator for EIT image reconstruction studies, and it is used suitably to generate the errorless 2D boundary data to study and modify the inverse solver of a 2D EIT system. As BDS is developed in a computer software, it is found free from errors produced by the EIT instrumentation and phantom. BDS also allows us to generate boundary potential data for different type of phantom geometry, inhomogeneity geometry (shape, size, and position), inhomogeneity conductivity profiles, and background conductivity profiles. Moreover, it is developed as a compact, absolutely stable, and easy to use and handle for EIT studies. It is developed in such a way that it can be modified for further modifications.

BDS is developed with MATLAB-based computer program consisting of four-part imaging domain simulator (IDS), EIT model developer (EMD), current injection simulator (CIS), and boundary data calculator (BDC). Imaging domain simulator (IDS) in BDS simulates a domain with inhomogeneity with their corresponding conductivity distributions. EIT model developer (EMD) derives a mathematical model of the forward solver by applying FEM on the governing equation of the DUT in the form of a matrix equation. Current injection simulator (CIS) simulates a constant current injection through the definite points at the domain boundary with neighbouring current injection protocol [1, 2, 28–30]. The boundary data calculator (BDC) solves the governing equation by solving the forward model and calculates the potentials at all electrodes at the domain boundary.

Imaging domain simulator (IDS) first defines a DUT with a desired area defined by a required diameter and defined with a particular coordinate system. Imaging domain simulator applies the FEM to discretize the domain with a 2D finite element mesh containing finite element of triangular elements () and finite number of nodes (). In IDS, a circular domain () to be imaged is defined with a required radius () using the Cartesian coordinate system (Figure 1(a)), and the domain is discretized with a finite element (FE) mesh (Figure 1(b)). The mesh is symmetrically composed of the first-order triangular elements with linear shape functions [18, 31]. The FE mesh is generated with the *pdetool* of MATLAB R2010a in such a way that it can be refined further to increase the number of elements as per the requirement. All the coordinates and parameters assigned to the finite elements and the nodes are stored in corresponding matrices. Boundary nodes are identified, and the sixteen nodes among the boundary nodes are assigned as the electrodes called the electrode nodes. Inside the domain one (or more) smaller region (regions) is (are) defined as the inhomogeneity (inhomogeneities) positioned at a particular place. The center point () of the inhomogeneity with the required shape and size is positioned inside the phantom domain by defining its center with a polar coordinate ( as shown in Figure 1(a). Single or multiple inhomogeneities are defined with their desired areas () inside the DUT, and elements within the inhomogeneity and the background are identified. The background area is defined as the area of the domain surrounding the inhomogeneity (), and the elements within the background area () are identified. The elements within the inhomogeneity are assigned with a particular conductivity called inhomogeneity conductivity, while the rest of the elements are assigned with a different conductivity called background conductivity () as shown in Figure 1(b). The assigned conductivity values of all the elements are assumed to be featured at their corresponding centroids.

EIT model developer (EMD) develops the mathematical model of the forward solver by applying FEM on the governing equation and derive the forward model of a DUT in the form of a matrix equation (3) using the elemental conductivities and nodal coordinates. The EMD establishes a relationship between the current injection matrix, (matrix of the applied signal), and the nodal potential matrix, (matrix of the developed signal), through the transformation matrix which is mathematically represented by (3). The global stiffness matrix in EIT is actually an admittance matrix [23] that is formed [16] using the nodal coordinates of all the elements with their corresponding conductivities. Thus, the inforward model represents the transfer function of the EIT system obtained from the governing equation by FEM formulation [19].

The current injection simulator (CIS) is used to simulate a constant current injection through the sixteen nodes called simulated electrodes (SE) on the domain boundary with neighbouring current injection protocol. The CIS works in a “*for*” loop to execute all the projections [1, 28, 30, 32] of current injection process. In BDS, a constant current injection is simulated into the DUT surrounded by the sixteen simulated current electrodes () with all the possible combination of SE_{I} pairs, and the potential data are calculated on all the electrodes called voltage electrodes () in BDC. The current injection through a particular current electrode pair (say and ) and corresponding voltage data collection from all the possible voltage electrodes (, , , , , , , , , , , , , and ) is known as a simulated current projection (SCP). Hence, in an *N*-electrode EIT system, there will be *N*-different current projections each of which will inject current through a particular current electrode pair and collect *m* voltage (differential/grounded) data where *m* may be either equal to *N* or less than *N* depending on the EIT data collection strategy called the current pattern [1, 28, 30, 32]. Therefore, a complete scan (containing all the current projections) conducted on the DUT yields voltage data. As the BDS is studied for sixteen electrode system, the CIS runs for sixteen times and provides sixteen current projections (, , , , , , , , , , , , , , , and ). Therefore, a complete data collection procedure (called a complete scan) in the BDS collects *m* voltage data from the voltage electrodes or voltage electrode pairs in all the sixteen current projections and computes voltage data.

Boundary data calculator (BDC) calculates the potentials (developed for a constant current injection by CIS) at all electrode points (electrode nodes) at the domain boundary in each current projection for a particular current pattern. The current injection matrix [32] is formed in CIS using the *Neumann type boundary conditions, *and the potential matrix is calculated from (3) using the matrix inversion technique working on *L-U* factorization [33] process. The BDS is developed to run in an another “*for*” loop for *m* times to calculate the *m* electrode potentials from voltage electrodes or voltage electrode pairs at each of the steps of the loop. This second “*for*” loop runs within the first “*for*” loop for *m* times and collects *m* voltage data for each step of first “*for*” loop and hence collects voltage data as first “*for*” loop runs for sixteen times. Moreover, as the EIT reconstruction process needs a complete scan, the BDS runs in each current projection and computes sixteen electrode potentials at each projection. The domain potential is calculated from the forward model (3), and the potential values of all the nodes are stored in a nodal potential matrix [33, 34] denoted by . Boundary potential data are separated from and stored in a different matrix called boundary potential matrix . The electrode potential data are extracted from the nodal potential matrix and are stored in a separate matrix called electrode potential matrix **. **In sixteen electrode EIT system, the is formed as a column matrix and contains the electrode potentials (differential or grounded) obtained for all the projections.

##### 2.4. Neighbouring or Adjacent Current Injection Method

In neighbouring or adjacent current injection method, first reported by Brown and Segar [35], the current is applied through two neighbouring or adjacent electrodes, and the differential voltages is measured successively from all other adjacent electrode pairs excluding the pairs containing one or both of the current electrodes. For a sixteen electrode EIT system with domain under test surrounded by equally spaced sixteen electrodes (, , , , , , , , , , , , , , , and ), the neighbouring method injects current through the current electrode pairs for sixteen current projections (Figure 2), and the differential voltages are measured across the voltage electrode pairs using four electrode method in each projection.

As shown in Figure 2(a) in the first current projection () of adjacent method, the current is injected through electrode 1 () and electrode 2 (), and the thirteen differential voltage data () are measured successively between the thirteen electrode pairs -, -, and -, respectively (Figure 2(a)). As reported by Brown and Segar, in neighbouring current injection method, the current density within the DUT is found highest between the current electrodes ( and for ); the current density then decreases rapidly as a function of distance [35]. Similarly, in current projection 2 (), the current signal is injected through electrodes 2 () and 3 (), and an another set of thirteen differential voltage data are collected between the thirteen electrode pairs -, -, -, and so on. Lastly, in the current projection 16 (), the last set of thirteen differential voltage data are collected between the thirteen-electrode pairs -, -, and - by injecting the current through the electrodes and . Thus, the neighbouring current injection method in a sixteen electrode EIT system data collection procedure consists of sixteen current projections (, and ), and each of the current projection yields thirteen differential voltage data . Therefore, a complete data collection scan with the neighbouring current injection method in a sixteen electrode EIT system yields voltage measurements.

Though in neighbouring method, EIT boundary data are not collected across the electrode pairs containing one or two current electrode for contact impedance problem [35], but sometimes it is advantageous to collect the boundary data from all the electrodes including the current electrodes to obtain the greatest sensitivity to the resistivity changes in the domain as reported by Cheng et al. [36]. In the present study, the boundary potentials are calculated at all the electrodes (Figure 2(b)) with respect to a virtual ground point selected within the DUT. Hence, in a complete data collection scan, the potentials on all the electrodes are collected in all the sixteen current projection and are stored in . Therefore, the is found as a column matrix containing voltage data all collected with respect to the virtual ground point of the DUT. Hence, in the present study, with neighbouring current injection method, the is found as a matrix containing 256 electrode potentials. In the present study, 1 mA current injection is simulated through the electrodes of the simulated domain containing sixteen nodal electrodes using adjacent or neighboring current injection protocol (Figure 2(b)). The potentials on all the sixteen electrodes are calculated using boundary data calculator (BDC) for all the current projections, and the electrode potential matrix is used as the calculate boundary potential matrix to reconstruct the conductivity distribution of DUT.

The BDS is designed in such a way that a huge number of voltage data sets can be generated using different types of phantoms with their different design parameters. Boundary potential data are generated for different type of phantom configurations, and the boundary data have been tested with electrical impedance tomography and diffuse optical tomography reconstruction software (EIDORS) [37, 38] for 2D-EIT. A large number of data sets are generated by changing the values of one or more phantom parameters like: phantom diameter (), inhomogeneity radius (), inhomogeneity geometry (shape, size, and position), inhomogeneity number (), bathing solution conductivity (), and inhomogeneity conductivity (). 1 mA current injection is simulated to the domain boundary, and corresponding boundary data sets are used for image reconstruction in EIDORS. Data generation in BDS and image reconstruction in EIDORS are studied for different inhomogeneity geometries in DUT. Reconstruction is also studied for different iterations and for multiple inhomogeneity reconstruction to evaluate the BDS.

#### 3. Results and Discussion

Image reconstruction quality in EIT depends on the boundary data accuracy which is dependent on the geometric accuracy of the inhomogeneity developed in BDS. Dimensional accuracy of the inhomogeneity depends on the number of finite elements in the FE mesh or mesh refinement number () as shown in Figure 3. As the increases, the number of elements in the FE mesh is increased, and hence the geometric accuracy of the inhomogeneity increases which gives more accurate boundary data and better image reconstruction (Figure 3). But the BDS with a highly refined mesh needs a high PC memory and large computation time. In this paper, the mesh refinement is found suitable as as per the configuration of the PC (2.4 GHz/1.5 GBRAM/ P-IV) used. It is observed that the FE mesh with (containing 2048 elements and 1089 nodes) gives almost an accurate geometry (Figure 3) to the desired inhomogeneity and generates a reconstructible data set in less than 10 seconds. EIDORS reconstructs the resistivity images from the BDS data sets using regularized image reconstruction technique.

Results show that the resistivity or conductivity can be successfully reconstructed from the boundary data generated by our BDS using a circular domain () with a circular inhomogeneity ( mm, , , , and ) in the 9th iteration (Figure 4). It is also observed that the reconstructed shape of the inhomogeneity is similar to that of the original one (Figure 4(a)), and the reconstructed conductivity profile in Figure 4(b) is almost similar to that of the original object in Figure 4(a).

Iteration studies shows that in different reconstruction steps called iterations (Figure 5), the reconstructed images become more localized from iteration to iteration and the reconstruction errors (appeared by the red color at phantom periphery) are gradually reduced (Figure 5).

It is observed that the resistivity is successfully reconstructed from the boundary data in the 9th iteration (Figures 5(i) and 5(j)), though the shape of all the reconstructed images in 9th–12th iterations is almost similar to that of the original one (shown by dotted circles in Figure 5). As the reconstructed resistivity profile similar to that of the original is obtained only in the 9th iteration, the 9th iteration is taken as the optimum reconstruction. In 13th and 14th iterations, the resistivity is overestimated, and the images are lost. The optimum iteration number depends on the data accuracy and reconstruction algorithm, and hence the BDS can be used to generate the boundary data sets required for assessing the inverse solver in EIT.

Voltage data are also generated for a domain () with the circular inhomogeneities (, , and ) positioned at different places using the BDS (Figure 6). It is observed that the reconstructed image is more circular for an inhomogeneity positioned at the phantom centre where and (Figure 6(a)). On the other hand, for , that is, for the inhomogeneities near domain boundary (Figure 6(b)), reconstructed images are not perfectly circular because of the comparatively less accurate shape of the original object obtained for . For a less number of mesh refinements, the geometry of the original side objects is not exactly circular itself (Figure 4), and hence the corresponding boundary data have lower accuracy. An FE mesh with large can easily produce an accurate geometry for the boundary objects (objects near domain boundary) with proper shape, which gives a boundary data without geometric error and automatically improves the image shape.

Boundary data sets are also generated with a circular domain ( and ) with a circular inhomogeneity () with different diameters () and all positioned at the phantom center (). The boundary data are calculated and used for reconstructing the resistivity images. Results show that for the domain discretized with , the data sets, generated with a diameter larger than 13.3% of the phantom diameter, are accurate enough (Figures 7(a)–7(f)) to reconstruct the resistivity images in EIDORS-2D. It is clearly observed that for , the triangular elements within the inhomogeneity with smaller are unable to shape themselves into a proper circle (Figure 7(g)). Hence, the data obtained for the inhomogeneity with a diameter of 20 mm has low accuracy (Figure 7(g)), and hence the resistivity image (Figure 7(h)) is found with low resolution showed and some reconstruction error (appeared in the red color at phantom periphery). Increasing the FE elements in BDS, the boundary data error can be minimized, and the improved resistivity image can be achieved even for smaller inhomogeneities with a diameter less than 13.3% of .

Boundary potential data are also generated for domains () containing multiple circular inhomogeneities (, , , and ) placed at different positions inside the domain (Figure 8). Figure 8(a) shows a domain with two circular inhomogeneities ( apart from each other) which are placed at a central distance () of 37.5 mm. Similarly, another domain with three circular inhomogeneities (120° apart from each other) placed inside the phantom domain is shown in Figure 8(c). All the inhomogeneities in both the domains are positioned at a central distance () of 37.5 mm. 1 mA current is simulated with the neighbouring current pattern, and the boundary data are collected for resistivity reconstruction. It is noticed that the resistivity images (Figures 8(b) and 8(d)) of inhomogeneities in both the domains are reconstructed successfully.

Results show that the boundary data simulator can be efficiently used to generate boundary potential data for a huge number of phantom configurations in less than 10 seconds. BDS is software-based virtual EIT phantom, and hence it has a number of advantages over the practical and mesh phantoms. The literatures [39–41] presenting the phantom simulations are limited, and they only discuss the software phantoms developed for their own systems. BDS is a software-based versatile boundary data simulator which generates boundary data suitable for studying the reconstruction algorithm required for several EIT systems, and hence it is better suited for assessing the performance of the inverse solver of 2D electrical impedance tomography.

#### 4. Conclusions

A MATLAB boundary data simulator (BDS) is developed for studying the resistivity reconstruction in inverse solvers of 2D-EIT. BDS is developed with four parts: imaging domain simulator (IDS), EIT model developer (EMD), current injection simulator (CIS), and boundary data calculator (BDC). Imaging domain simulator (IDS) simulates a domain with single or multiple inhomogeneities of different geometries defined with their corresponding conductivity distributions, whereas the EIT model developer (EMD) derives a forward model using FEM to solve the governing equation of the DUT. Current injection simulator (CIS) simulates a constant current injection through the simulated electrodes positioned at the domain boundary with the neighbouring current injection protocol. The boundary data calculator (BDC) solves the forward model to solve the governing equation and calculates the potentials at all the simulated electrodes. Boundary data are generated with different type of domains simulated in BDS by changing its input parameters. Resistivity images are reconstructed from the boundary data using standard EIT reconstruction software called EIDORS, and the BDS is evaluated. It is observed that the BDS with FE mesh with 2048 elements can simulate an inhomogeneity of desired geometry with suitable accuracy. The BDS with 2048 elements suitably generates the boundary data for simulated domains containing the objects with different geometries which are found efficient for image reconstruction in EIDORS. Results also show that the conductivity or resistivity profiles of the domains simulated in BDS are successfully reconstructed from their corresponding boundary data generated for different type of single and multiple inhomogeneities. By changing the inhomogeneity position, diameter, and number in BDS, boundary data are successfully generated as well as the resistivity images are reconstructed successfully. Multiple inhomogeneity imaging shows that the BDS suitably generates boundary data with the desired accuracy, and the boundary data are found efficient for resistivity reconstruction in EIDORS. Results also show that for the simulated domains discretized with , the boundary data sets generated for circular inhomogeneity with a diameter larger than 13.3% of the phantom diameter are accurate enough to reconstruct the resistivity images in EIDORS. Increasing the FE elements in BDS, the boundary data error can further be minimized, and the improved resistivity image reconstruction can be obtained even for smaller inhomogeneities. Hence, it is concluded that the BDS generated a number of boundary data sets which can suitably be used for inverse solver assessment in EIT.

#### References

- J. G. Webster,
*Electrical Impedance Tomography*, Adam Hilger Series of Biomedical Engineering, Adam Hilger, New York, NY, USA, 1990. - D. S. Holder,
*Electrical Impedance Tomography: Methods, History and Applications*, Series in Medical Physics and Biomedical Engineering, Institute of Physics Publishing Ltd., Bristol, UK, 1st edition, 2005. - H. Griffiths and Z. Zhang, “A dual-frequency electrical impedance tomography system,”
*Physics in Medicine and Biology*, vol. 34, no. 10, pp. 1465–1476, 1989. View at Publisher · View at Google Scholar · View at Scopus - T. K. Bera and J. Nagaraju, “A multifrequency constant current source suitable for Electrical Impedance Tomography (EIT),” in
*Proceedings of the IEEE International Conference on Systems in Medicine and Biology (ICSMB '10)*, pp. 278–283, Kharagpur, India, December 2010. View at Publisher · View at Google Scholar · View at Scopus - T. K. Bera and J. Nagaraju, “A reconfigurable practical phantom for studying the 2D Electrical Impedance Tomography (EIT) using a FEM based forward solver,” in
*Proceedings of the 10th International Conference on Biomedical Applications of Electrical Impedance Tomography (EIT '09)*, School of Mathematics, The University of Manchester, Manchester, UK, June 2009. - D. S. Holder, Y. Hanquan, and A. Rao, “Some practical biological phantoms for calibrating multifrequency electrical impedance tomography,”
*Physiological Measurement*, vol. 17, no. 4, pp. A167–A177, 1996. View at Google Scholar · View at Scopus - T. K. Bera and J. Nagaraju, “Studying the 2D-Image Reconstruction of Non Biological and Biological Inhomogeneities in Electrical Impedance Tomography (EIT) with EIDORS,” in
*Proceedings of the International Conference on Advanced Computing, Networking and Security (ADCONS’ 11)*, pp. 132–136, NITK-Surathkal, Mangalore, India. - T. K. Bera and J. Nagaraju, “A stainless steel electrode phantom to study the forward problem of Electrical Impedance Tomography (EIT),”
*Sensors & Transducers Journal*, vol. 104, no. 5, pp. 33–40, 2009. View at Google Scholar - H. Griffiths, “A phantom for electrical impedance tomography,”
*Clinical Physics and Physiological Measurement*, vol. 9, supplement A, pp. 15–20, 1988. View at Publisher · View at Google Scholar · View at Scopus - T. K. Bera and J. Nagaraju, “Resistivity imaging of a reconfigurable phantom with circular inhomogeneities in 2D-electrical impedance tomography,”
*Measurement*, vol. 44, no. 3, pp. 518–526, 2011. View at Publisher · View at Google Scholar · View at Scopus - H. Griffiths, Z. Zhang, and M. Watts, “A constant-perturbation saline phantom for electrical impedance tomography,”
*Physics in Medicine and Biology*, vol. 34, no. 8, pp. 1063–1071, 1989. View at Publisher · View at Google Scholar · View at Scopus - H. Gagnon, A. E. Hartinger, A. Adler, and R. Guardo, “A resistive mesh phantom for assessing the performance of EIT systems,” in
*Proceedings of the International Conference on Biomedical Applications of Electrical Impedance Tomography (EIT '09)*, Manchester, UK, 2009. - H. Gagnon, Y. Sigmen, A. E. Hartinger, and R. Guardo, “An active phantom to assess the robustness of EIT systems to electrode contact impedance variations,” in
*Proceedings of the International Conference on Biomedical Applications of Electrical Impedance Tomography (EIT '09)*, Manchester, UK, 2009. - G. Hahn, A. Just, and G. Hellige, “Determination of the dynamic measurement error of EIT systems,” in
*Proceedings of the 13th International Conference on Electrical Bioimpedance and the 8th Conference on Electrical Impedance Tomography (ICEBI '07)*, IFMBE Proceedings 17, pp. 320–323, September 2007. View at Scopus - W. R. B. Lionheart, “EIT reconstruction algorithms: pitfalls, challenges and recent developments,”
*Physiological Measurement*, vol. 25, pp. 125–142, 2004. View at Publisher · View at Google Scholar - T. K. Bera, S. K. Biswas, K. Rajan, and J. Nagaraju, “Improving image quality in Electrical Impedance Tomography (EIT) using projection error propagation-based regularization (PEPR) technique: a simulation study,”
*Journal of Electrical Bioimpedance*, vol. 2, pp. 2–12, 2011. View at Publisher · View at Google Scholar - T. K. Bera, S. K. Biswas, K. Rajan, and J. Nagaraju, “Improving conductivity image quality using block matrix-based multiple regularization (BMMR) technique in EIT: a simulation study,”
*Journal of Electrical Bioimpedance*, vol. 2, pp. 33–47, 2011. View at Google Scholar - J. N. Reddy,
*An Introduction to the Finite Element Method*, TATA McGraw-Hill Publishing Company Ltd., New Delhi, India, 3rd edition, 2006. - T. J. Yorkey,
*Comparing reconstruction methods for electrical impedance tomography [Ph.D. thesis]*, University of Wisconsin at Madison, Madison, Wis, USA, 1986. *Vauhkonen Marko Electrical Impedance Tomography and Prior Information*, Kuopio University Publications, Natural and Environmental Sciences, 1997.- T. J. Yorkey, J. G. Webster, and W. J. Tompkins, “Comparing reconstruction algorithms for electrical impedance tomography,”
*IEEE Transactions on Biomedical Engineering*, vol. 34, no. 11, pp. 843–852, 1987. View at Google Scholar · View at Scopus - C. J. Grootveld,
*Measuring and modeling of concentrated settling suspensions using electrical impedance tomography [Ph.D. thesis]*, Delft University of Technology, Delft, The Netherlands, 1996. - B. M. Graham,
*Enhancements in Electrical Impedance Tomography (EIT) image reconstruction for 3D lung imaging [Ph.D. thesis]*, University of Ottawa, 2007. - M. C. Kim, K. Y. Kim, S. Kim, H. J. Lee, and Y. J. Lee, “Electrical impedance tomography technique for the visualization of the phase distribution in an annular tube,”
*Journal of Industrial and Engineering Chemistry*, vol. 8, no. 2, pp. 168–172, 2002. View at Google Scholar · View at Scopus - T. K. Bera, S. K. Biswas, K. Rajan, and J. Nagaraju, “Improving the image reconstruction in Electrical Impedance Tomography (EIT) with block matrix-based Multiple Regularization (BMMR): a practical phantom study,” in
*Proceedings of the IEEE World Congress on Information and Communication Technologies*, pp. 1346–1351, Mumbai, India, 2011. - T. K. Bera, S. K. Biswas, K. Rajan, and J. Nagaraju, “Image reconstruction in Electrical Impedance Tomography (EIT) with projection error propagation-based regularization (PEPR): a practical phantom study,” in
*Advanced Computing, Networking and Security*, vol. 7135 of*Lecture Notes in Computer Science*, pp. 95–105, Springer, 2012. View at Google Scholar *MATLAB: The Language of Technical Computing, Version R2010a*, The MathWorks, Inc., Natick, Mass, USA, 2010.- J. Malmivuo and R. Plonsey,
*Bioelectromagnetism: Principles and Applications of Bioelectric and Biomagnetic Fields*, chapter 26, section 26.2.1, Oxford University Press, New York, NY, USA, 1995. - T. K. Bera and J. Nagaraju, “Studying the resistivity imaging of chicken tissue phantoms with different current patterns in Electrical Impedance Tomography (EIT),”
*Measurement*, vol. 45, pp. 663–682, 2012. View at Google Scholar - T. K. Bera and J. Nagaraju, “Studying the 2D resistivity reconstruction of stainless steel electrode phantoms using different current patterns of Electrical Impedance Tomography (EIT), biomedical engineering,” in
*Proceeding of the International Conference on Biomedical Engineering (ICBME '11)*, pp. 163–169, Narosa Publishing House, Manipal, India, 2011. - T. K. Bera and J. Nagaraju, “A FEM-based forward solver for studying the forward problem of Electrical Impedance Tomography (EIT) with a practical biological phantom,” in
*Proceedings of the IEEE International Advance Computing Conference (IACC '09)*, pp. 1375–1381, Patiala, India, March 2009. View at Publisher · View at Google Scholar · View at Scopus - T. K. Bera and J. Nagaraju, “A study of practical biological phantoms with simple instrumentation for Electrical Impedance Tomography (EIT),” in
*Proceedings of the IEEE Instrumentation and Measurement Technology Conference (I2MTC '09)*, pp. 511–516, Singapore, May 2009. View at Publisher · View at Google Scholar · View at Scopus - E. Kreyszig,
*Advanced Engineering Mathematics*, chapter 18, section 18.2, John Wiley & Sons, 8th edition, 1999. - T. K. Bera and J. Nagaraju, “Studying the boundary data profile of a practical phantom for medical electrical impedance tomography with different electrode geometries,” in
*Proceedings of the World Congress on Medical Physics and Biomedical Engineering*, IFMBE Proceedings 25/II, pp. 925–929, Munich, Germany, September 2009. View at Publisher · View at Google Scholar · View at Scopus - B. H. Brown and A. D. Segar, “The Sheffield data collection system,”
*Clinical Physics and Physiological Measurement*, vol. 8, supplement A, pp. 91–97, 1987. View at Publisher · View at Google Scholar - K. S. Cheng, S. J. Simske, D. Isaacson, J. C. Newell, and D. G. Gisser, “Errors due to measuring voltage on current-carrying electrodes in electric current computed tomography,”
*IEEE Transactions on Biomedical Engineering*, vol. 37, no. 1, pp. 60–65, 1990. View at Publisher · View at Google Scholar · View at Scopus - N. Polydorides and W. R. B. Lionheart, “A Matlab toolkit for three-dimensional electrical impedance tomography: a contribution to the Electrical Impedance and Diffuse Optical Reconstruction Software project,”
*Measurement Science and Technology*, vol. 13, no. 12, pp. 1871–1883, 2002. View at Publisher · View at Google Scholar · View at Scopus - M. Vauhkonen, W. R. B. Lionheart, L. M. Heikkinen, P. J. Vauhkonen, and J. P. Kaipio, “A MATLAB package for the EIDORS project to reconstruct two-dimensional EIT images,”
*Physiological Measurement*, vol. 22, no. 1, pp. 107–111, 2001. View at Publisher · View at Google Scholar · View at Scopus - M. Kuzuoplu, M. Moh'dSaid, and Y. Z. Ider, “Analysis of three-dimensional software EIT (electrical impedance tomography) phantoms by the finite element method,”
*Clinical Physics and Physiological Measurement*, vol. 13, supplement A, pp. 135–138, 1992. View at Publisher · View at Google Scholar - R. P. Patterson and J. Zhang, “Evaluation of an EIT reconstruction algorithm using finite difference human thorax models as phantoms,”
*Physiological Measurement*, vol. 24, no. 2, pp. 467–475, 2003. View at Google Scholar - R. Davalos and B. Rubinsky, “Electrical impedance tomography of cell viability in tissue with application to cryosurgery,”
*Journal of Biomechanical Engineering*, vol. 126, no. 2, pp. 305–309, 2004. View at Publisher · View at Google Scholar · View at Scopus