research article Segmentation of hepatic vessels from MRI images for planning of electroporation-based treatments in the liver Marija Marcan1, Denis Pavliha1, Maja Marolt Music2, Igor Fuckan3, Ratko Magjarevic4, Damijan Miklavcic1 1 University of Ljubljana, Faculty of Electrical Engineering, Ljubljana, Slovenia 2 Institute of Oncology Ljubljana, Ljubljana, Slovenia 3 Clinical Department for Diagnostic and Interventional Radiology, Clinical Hospital "Dubrava", Zagreb, Croatia 4 University of Zagreb, Faculty of Electrical Engineering and Computing, Zagreb, Croatia Radiol Oncol 2014; 48(3): 267-281. Received 9 January 2014 Accepted 10 April 2014 Correspondence to: Prof. Damijan Miklavčič, Ph.D., Faculty of Electrical Engineering, University of Ljubljana, Tržaška 25, 1000 Ljubljana, Slovenia. E-mail: damijan.miklavcic@fe.uni-lj.si Disclosure: No potential conflicts of interest were disclosed. Introduction. Electroporation-based treatments rely on increasing the permeability of the cell membrane by high voltage electric pulses delivered to tissue via electrodes. To ensure that the whole tumor is covered by the sufficiently high electric field, accurate numerical models are built based on individual patient geometry. For the purpose of reconstruction of hepatic vessels from MRI images we searched for an optimal segmentation method that would meet the following initial criteria: identify major hepatic vessels, be robust and work with minimal user input. Materials and methods. We tested the approaches based on vessel enhancement filtering, thresholding, and their combination in local thresholding. The methods were evaluated on a phantom and clinical data. Results. Results show that thresholding based on variance minimization provides less error than the one based on entropy maximization. Best results were achieved by performing local thresholding of the original de-biased image in the regions of interest which were determined through previous vessel-enhancement filtering. In evaluation on clinical cases the proposed method scored in average sensitivity of 93.68%, average symmetric surface distance of 0.89 mm and Hausdorff distance of 4.04 mm. Conclusions. The proposed method to segment hepatic vessels from MRI images based on local thresholding meets all the initial criteria set at the beginning of the study and necessary to be used in treatment planning of electropora-tion-based treatments: it identifies the major vessels, provides results with consistent accuracy and works completely automatically. Whether the achieved accuracy is acceptable or not for treatment planning models remains to be verified through numerical modeling of effects of the segmentation error on the distribution of the electric field. Key words: electrochemotherapy; non-thermal irreversible electroporation; treatment planning; hepatic vessel segmentation; non-invasive tumor treatments; MRI of liver Introduction Exposing a biological cell to a sufficiently high electric field causes increased permeability of the cell membrane. This increased permeability of the membrane allows transfer of molecules which normally lack membrane transport mechanism into the cell. The described effect of the electric field on the cell is called electroporation. 12 Electroporation can be classified as either reversible or irreversible. The reversible/irreversible nature of electropora-tion is in strong correlation with pulse amplitude, duration and number of pulses. In reversible elec-troporation, the cell membrane eventually returns to its normal state. Irreversible electropora-tion however leads to cell death because the cell membrane is permanently disrupted or due to the extensive loss of the intracellular components. Combination of reversible electroporation with traditional methods of chemotherapy has resulted in a new method for tumor treatment named electro-chemotherapy (ECT).3-5 Irreversible electroporation (IRE) has found its application in tumor treatment as a tissue ablation procedure, its main advantage being the fact that, if controlled properly, it does not thermally damage the tissue.6-8 Tumor treatments based on electroporation like ECT and IRE include placement of the electrodes in the tissue and delivery of the electric pulses. In order for the treatment to be successful the whole tumor must be covered by a sufficiently high electric field. The magnitude and distribution of the electric field depends on the number and the position of the electrodes, the amplitudes of pulses applied per electrode pair and the electric properties of the tissue, especially conductivity.910 Prediction of parameters needed for successful treatment is easier for surface tumors which is why the ECT was first performed on skin tumors.4 Ensuring the complete tumor coverage with a sufficiently high electric field is however more challenging in the case of deep-seated solid tumors as well as large tumors.11 This was well demonstrated in a case where a patient with a deep-seated tumor in the thigh was treated with ECT.12 The post-treatment evaluation showed that 6% of the tumor volume was not covered by a sufficiently high electric field, which caused the tumor to re-grow. The reasons which reduce predictability of the electric field distribution in deep-seated tumors are the tumor position, high diversity in tumor size and shape, and presence of the surrounding tissues with different electric conductivities. Predictability of an adequate distribution of the electric field can be best achieved by calculating a patient-specific treatment plan as a part of an electroporation-based treatment procedure.13 A patient-specific treatment plan for electroporation-based treatment of deep-seated solid tumors takes into account patient geometry and tissue properties to generate an optimal set of treatment parameters.1415 Correctness of a treatment plan is ensured by an accurate model of the patient which includes the tumor with critical surrounding tissues and structures. The patient model is built by segmenting the medical images and then used to perform numerical calculations of the electric field distribution. A proof-of-concept was provided in a clinical study in which colorectal metastases in the liver were treated by means of ECT.16 For the purpose of the mentioned clinical study, an algorithm for automatic segmentation of the liver from MRI images was developed.17 Similar treatment planning process is well-established in radiotherapy where it has been in use for decades.18 Generation of models from medical images for subsequent numerical calculations has also been used as a part of treatment planning for radiofrequency ablation (RFA) of liver tumors.1920 Other than liver and tumor tissue, critical structures that need to be included in the model for both RFA and electroporation-based treatments of the liver are hepatic vessels. For the purpose of radi-ofrequency ablation, vessels which measure more than 3 mm in diameter size have been described as critical because of their influence on heat propaga-tion.21 In case of electroporation-based treatment of the liver the hepatic vessels are important for other reasons. Firstly, the electric conductivity of the vessels is different than that of the liver tissue and tumors, which can have an impact on the electric field distribution, especially in cases when a tumor is situated close to large vessels.22 Secondly, during an electroporation-based treatment the surgeons insert needle electrodes into the liver tissue and these should not damage larger hepatic vessels. The hepatic vessels which were identified by surgeons as critical are vena cava and vena porta with branches up to second order, left, middle and right hepatic vein, and larger hepatic arteries. These vessels will thus be the ones we will most certainly want to include in our model. Lastly, the model of vessels built from medical images can be used for intra-operative visualization to help surgeons navigate during the insertion of the electrodes. The problem of segmentation of vessels in gen-eral23 and hepatic vessels in particular has been an area of interest for several decades. The interest in segmentation of hepatic vessels resulted in exploring several different approaches. First attempts were based solely on thresholding24 and region growing.2526 The evolution of highly popular methods for enhancement of tubular structures27-29 resulted in their combinations with thresholding30 and region growing.2031-33 Other than tube-enhancing filtering the traditional methods of segmentation were enhanced through use of Gaussian mixture models34,35 and by utilizing morphology of the vascular tree through centerline extraction.2031 More advanced methods for segmentation of hepatic vessels include those based on graph-cuts36-37, active contours38 and morphological properties embedded in context-based voting system.39 All these methods for vessel segmentation have however been designed for and applied to CT images. To our knowledge, no method so far was tested on MRI images. Although CT images have been considered superior for hepatic vessels, the vessels are also visible in MRI images, especially when a contrast agent is applied. With respect to the colo-rectal metastases of the liver, multiple studies have shown that MRI is superior to CT in sensitivity and accuracy of detecting tumor lesions.40-45 If MRI is a modality of choice for detecting the tumors, using the same modality to segment the hepatic vessels would avoid the need for registration and errors that inevitably come with it. Another reason why MRI is a method of choice for planning of electropo-ration-based treatments is possibility to directly observe the distribution of the electric field using the magnetic resonance electric impedance tomography (MREIT), which was described in the work of Kranjc et al.46 47 and is being actively explored. Given all of the mentioned advantages of MRI over CT in treatment of colorectal metastases in the liver with electroporation-based treatments, we directed our research towards segmentation and validation of segmentation of hepatic vessels from MRI images. The segmentation method used for hepatic vessels has to be robust and include minimal or no user interaction. These prerequisites are necessary for using the procedure for hepatic vessel segmentation as a module in the process of treatment planning.48 Having this in mind, the segmentation methods we tested were built upon already established and robust approaches based on filtering, vessel enhancement, automatic thresholding and region growing. Data used in validation consisted of two sources: a phantom and clinical cases. The phantom was used to optimize the segmentation parameters and analyze the performance of methods in detail. Images of clinical cases were then used to validate the performance of segmentation methods under realistic conditions. Materials and methods Segmentation of hepatic vessels In order to segment the hepatic vessels from MRI images we tested several simple approaches, alone and their combinations. The main approaches include vessel enhancement filtering, thresholding, region growing, connected component analysis and morphological operations. To determine the optimal method for our purpose we tested two different thresholding methods on different input: on original de-biased images and on the results of vessel enhancement filtering. The thresholding of that input was performed on the slice level and is referred to as global thresholding. The thresholding method that performed best on phantoms was also tested locally on smaller regions of original de-biased images determined by vessel enhancement filtering. Pre-processing phase Prior to running any of the methods on the original images we performed de-biasing in order to remove the inhomogeneity of image intensity. The intensity inhomogeneity is a product of the magnetic field inhomogeneity in the MRI device.49 The applied de-biasing method is publicly available and based on the work of Zheng et al.50 After de-biasing the images were masked with the results of liver segmentation.17 Vessel enhancement filtering The filter we used is based on the work of Frangi et al.28 The filter differentiates line-like from blob-like and plate-like structures by observing the relationships between eigenvalues of the Hessian matrix in each voxel of the image. Before applying the filter, the image is scaled by filtering with Gaussian kernels of different size a. The value of a is set to a value that equals the size of the diameter of the vessels we wish to enhance. For each scale a the probability of a voxel belonging to a line, i.e. vesselness is calculated as: v(0||^>0 2 a 2 p c else (1) where < < |Aj| are eigenvalues of the Hessian matrix in three dimensions, R„ = j—4 and Rh = , • W b ш\ are parameters which discriminate line-like structures from plate-like and blob-like structures, and S' = |.H1T| = ј^ЛЈ2 is the Frobenius norm of the Hessian matrix. Values of parameters a and ß were chosen through optimization on phantoms and were selected as 0.3 and 0.7, respectively. Value of parameter c is calculated for each case and for each value of scale a according to the following equation: -m 2II -IIF J (2) The parameter c is used in the expression for ves-selness as is, without squaring and multiplying by 2 as it is done in the original work of Frangi et al.28 The reason for this is better enhancement of vessel structures. The final vesselness filtered image is obtained by calculating the maximum of vesselness values at different scales for each voxel of the image. Thresholding Out of many thresholding methods developed until today we chose to implement two of the most successful as reported by Sankur et al.51 The first method is based on minimizing intra-class variance.52 The second method is based on maximization of image entropy.53 Both methods are completely automatic and were implemented to determine the threshold on slice level on an image histogram with values in the 16-bit range. We assessed the performance of the two thresholding methods globally on de-biased original images and vesselness filtered images of both phantoms and clinical cases. Additionally we assessed the method that performed better globally on smaller regions of interest. The details of local thresholding are described in the section Proposed method. Proposed method Through analysis of the results of previously described methods applied on both phantom and clinical data, we derived a method comprised of the best aspects of vessel enhancement filtering and thresholding. Vessel enhancement filtering is excellent for locating the position of the vessels but unable to determine their exact borders. Thresholding of the de-biased original image can detect vessel borders but not with consistent accuracy throughout the whole image. The proposed method is therefore based on local thresholding of smaller regions of interest (ROI), rather than deriving a single threshold for the whole slice. The ROIs for local thresholding are determined based on the output of vessel enhancement filtering. Detailed steps of the proposed method with all the input, output, parameters and dimension in which the step is performed are provided in Table 1. First, we performed sinc interpolation to obtain isotropic voxels (O2) so that we could perform ves-selness filtering.54 After that we applied the ves-selness filtering on the interpolated, de-biased, masked original images (O3). The filtered image (O4) was interpolated once again to obtain the orig- inal voxel size (O5). In the end of the filtering section the result of vesselness filtering has to be once again masked with the original liver mask to suppress the high response which appears in the area where background borders with the liver (O6). The output of the vesselness filtering has high values for voxels with high probability of belonging to a vessel and is very low for very small vessels. The voxels with small vesselness values might also be a result of image noise. For this reason we have chosen a small threshold of 0.05 of the maximum vesselness value. All of the voxels with a vesselness value higher than this threshold are isolated into a basic vessel model (O7). A basic vessel model thus consists of voxels with high certainty of belonging to a vessel. The same small threshold for output of Frangi's vessel enhancing filter was already successfully used in the work of Dongen et al. to prevent false positives in the algorithm for extraction of pulmonary vasculature.55 To eliminate the smallest vessels which are not of interest for electroporation-based treatments we morphologically open the results to remove all objects with a diameter smaller than 3 mm. We need to keep only larger objects (O8) because the smallest hepatic vessels from the list of those that should not be damaged during the electrode insertion are the main hepatic arteries, and they measure around 3 mm in diameter and more.56 After we have extracted and morphologically opened the basic vessel model (O8) we proceed with local thresholding to determine the exact vessel borders. To extract the ROIs we first perform the connected component analysis on the slice level to break the basic vessel model into smaller 2D objects (O9). These objects are then morphologically dilated with a structuring element in the shape of a disc with a radius of 5 pixel. The dilation gives us the ROIs (O10) within which we perform the local thresholding (O12). The threshold for each ROI is calculated based on variance minimization. The final steps in the proposed method are meant to refine the results by adding possibly missed nearby voxels and removing small objects. For this purpose we perform region growing with results of local thresholding (O12) as seed points. Region growing is performed on de-biased original images in 3D by searching the 27-neighborhood of each seed voxel. A threshold for adding new voxels is determined on a slice level as a median value of intensities of voxels already marked as vessels. The thresholds are re-calculated after each series of newly found voxels. The region growing stops once there are no new voxels that could be added. TABLE 1. Sequential list of all the steps performed within the proposed optimal method, along with inputs, outputs and parameters of each step and the dimension (2D or 3D) in which the step is performed. (Ox) denotes an output from a previous step where x is the step number No Step Input Output Parameters Dimension 1 Bias removal Original unmasked image De-biased image (O1) / 2D / 3D / 2D Gaussian kernel o=[1,12] with a step of 0.5 a=0.3 3D ß=0.7 c= half of Frobenius norm 5 Interpolation to original voxel size Interpolated vesselness filtered image (O4) Vesselness filtered image (O5) / 3D 6 Masking Vesselness filtered image (O5) Liver mask Masked vesselness filtered image (O6) / 2D 7 Thresholding with a low threshold Masked vesselness filtered image (O6) Basic vessel model (O7) Threshold = 0.05 * max(vesselness) 3D 8 Removal of small objects Basic vessel model (O7) Basic vessel model with objects with diameter > 3 mm (O8) Size of small object = number of pixel of a circle with 3 mm diameter 2D Sinc interpolation to obtain isotropic voxels Masking De-biased image (O1) Liver mask Interpolated de-biased image (O2') Interpolated liver mask (O2' Interpolated de-biased image (O2') Interpolated liver mask (O2'') Interpolated masked de-biased image (O3) Frangi filtering Interpolated masked de-biased image (O3) Interpolated vesselness filtered image (O4) 2 3 4 9 Connected component analysis Basic vessel model with objects with diameter > 3 mm (O8) Basic objects (O9) / 2D 10 Dilation Basic object (O9) ROI of object (O10) Structuring element: disc with radius = 5 2D, per object 11 Masking De-biased image (O1) Liver mask Masked de-biased image (O11) / 2D 12 Local thresholding ROI of object (O10) Masked de-biased image (O11) Locally thresholded image (O12) Threshold determined for each ROI through variance minimization 2D, per object 13 Region growing Locally thresholded image (O12) Masked de-biased image (O11) Region grown image (O13) Threshold = median of locally thresholded image, per slice 27-neighborhood 2D/3D 14 Erosion Liver mask Eroded mask (O14) Structuring element: disc with radius = 6 2D 15 Masking Region grown image (O13) Eroded mask (O14) Segmented image (O15) / 2D 16 Removal of small objects Segmented image (O15) Segmented image with objects with diameter > 3 mm (O16) Size of small object = number of pixel of a circle with 3 mm diameter 2D After region growing we mask the results (O13) with an eroded liver mask (O14) to eliminate boundary outliers. This step is in general unnecessary if the provided liver masks are completely accurate and contain only liver voxels. Otherwise the results of the vessel segmentation will also include a small strip around the liver which in original images is of similar intensity as vessels. The final step in the proposed method includes once again mor- phologically opening the results (O15) to remove all objects with a diameter smaller than 3 mm. In order to give better insight into the proposed method we provide output of all the relevant steps in Figure 1. The outputs are the result of applying the proposed method on a clinical case. For all of the presented steps we provide a one slice output and for some steps also the complete 3D model, if relevant. © ^^ original Лi. ^^ output 1 K ^^ output 10 L output 10 ЈГ A ^^ output 3 Ф output5 © t , ^^ outpu 2 pr- output 12 ф output6 o ^^ output 6 output 13 Л output 13 Ф ^^ output 7 ® output 15 џ г output 15 ^^^ output 8 0 output 16 f г output 16 FIGURE 1. Output of the proposed method applied on a clinical case. (A) Original image. (B) De-biased original image. (C) Masked de-biased original image. (D) Vesselness filtered image. (E) Masked vesselness filtered image. (F) The same output as in E. presented in colored scale. (G) Basic vessel model with small objects. (H) Basic vessel model with small objects shown in 3D. (I) Basic vessel model without small objects. (J) Basic vessel model without small objects shown in 3D. (K) Basic object with ROI. (L) Basic object with ROI in colored scale. (M) Result of local thresholding. (N) Result of local thresholding shown in 3D. (O) Result of region growing. (P) Result of region growing shown in 3D. (Q) Result of masking with an eroded mask. (R) Result of masking with an eroded mask shown in 3D. (S) Final result after the removal of small objects. (T) Final result after the removal of small objects shown in 3D. Most of the parameters that are used in the proposed method are calculated automatically based on the image. These parameters include the two most critical parameters: the value of c used in the vessel enhancing filter that influences the filter output most57 and thresholds in the local thresholding step. Values of two of the remaining parameters of the vessel enhancing filter, a and |3, were chosen based on validation on phantoms. The rest of the parameters that had to be set do not directly influence the accuracy of the results but rather determine the region of interest in which the main parameters operate. These less-sensitive parameters are namely a threshold in step 7 and a structuring element in step 9 (Table 1). We would, however, not suggest setting these parameters to more than ±25% of the values used in this paper. There is one parameter remaining that strongly influences the FIGURE 2. A simple phantom constructed for validation of hepatic vessel segmentation from MRI images. The phantom is made of agarose gel and a glass tube filled with physiological solution inserted in: (A) perpendicular position. (B) tilted position. output of the vessel enhancement filter, and that is the value of a in the Gaussian kernel. This parameter needs to be set only once and according to the size of the vessels one wishes to extract, as is stated in the work of Frangi et al.28 Phantom design Our primary concern in hepatic vessel segmentation was the accuracy of segmentation rather than the segmentation sensitivity to the depth of the vessel tree. For this reason we created a phantom which enabled detailed observation of whether a certain method over- or undersegments. The phantom was composed of a cup filled with agarose gel and a tube filled with physiological solution inserted into that gel, similar to the work of Merkx et al.58 and Jiang et al.59 The gel was prepared as a 0.5% solution of agarose in 100 ml distilled water, doped with 0.17 mM MnCl2 to enhance MRI signal properties.60 Three glass tubes with outer diameters of 4, 6 and 8 mm were filled with physiological solution in order to model the vessels. Each tube was inserted into its own cup filled with agarose gel perpendicularly to the cup bottom. Another set of tubes, also with 4, 6 and 8 mm outer diameters were inserted into another three cups filled with agarose gel, but this time in a tilted position. In total, we had six cups containing tubes. An example demonstrating different positions of the tube inside the cup is shown in Figure 2. All six cups were placed in a Siemens Avanto 1.5T MRI device and imaged at the same time in order to ensure the same imaging conditions for all six phantoms. Imaging parameters were set as in the standard protocol for imaging of the abdomen: T1-weighted, VIBE breath-hold, coronal plane with body coil. We im- I Pixels with >= 50% vesseltissue Pixels with > 0% vesseltissue FIGURE 3. Theoretical model of reference vessel area with all possible positions of the object relative to the sampling grid. An example for the 2.56 pixel/diameter resolution. (A) vessel with a center in the pixel point, (B) vessel with the center on the middle of one of the pixels' edges, (C) vessel with a center position right in the middle of one of the pixels. The pixels with >= 50% vessel tissue are a subset of pixels with >0% vessel tissue. aged in two intra-slice resolutions: 1.56 mm by 1.56 mm and 1.04 mm by 1.04 mm. The slice thickness in both cases was 2 mm. In order to be able to directly compare different vessel diameters imaged with different resolutions, we expressed the vessel diameters in number of pixel/diameter instead of in mm. The same approach was already used in papers which also evaluated accuracy of determining vessel area from MR an-giography data.5859 When expressed in pixel/diameter, the value of different resolutions we observed were 2.56 pix, 3.84 pix, 5.12 pix, 5.76 pix and 7.69 pix per diameter. Clinical data For validation on clinical data we obtained MRI images of six patients that were a part of Phase I/ II clinical study "Treatment of Liver Metastases with Electrochemotherapy (ECTJ)" (EudraCT number 2008- 008290-54; ClinicalTrials.gov (NCT01264952)).16 The study was conducted at the Institute of Oncology Ljubljana, Ljubljana, Slovenia. Regulatory approvals from the Institutional board, as well as from the National Medical Ethics Committee were obtained. Written consents of the patients were obtained. The series on which we performed the segmentation were the ones on which the colorectal metastases are most visible. The segmentation of the liver was also performed on the same image series by a method described by Pavliha et al.17 The reason for choosing the series where the liver, hepatic vessels and colorectal metastases are all visible was to avoid the need for subsequent registration. The chosen series were T1-weighted, VIBE breath-hold, transversal plane, with body coil and imaged 20 minutes after injection of the Primovist® (Bayer Group, Germany) contrast agent. Images were acquired with a Siemens AVANTO 1.5T MRI device at the Institute of Oncology in Ljubljana. In three cases the inter-slice resolution was 0.684 mm by 0.684 mm with a slice thickness of 2.75 mm. In the other three cases the inter-slice resolution was 1.188 mm by 1.188 mm with a slice thickness of 3 mm. Accuracy assessment metrics Phantom data Once the images have been segmented, we counted the number of pixel characterized as 'vessel' in each slice, thus obtaining the segmented vessel area. For reference vessel area we created a theoretical model which observes different ways in which a perfect circle can be positioned relative to the sampling grid of certain size, depending on the circle size and the grid size. The illustration of our theoretical model for the case of 2.56 pixel/diameter is presented in Figure 3. The need for such theoretical model is caused by partial volume effect, i.e. an artifact in medical imaging where the value of a border pixel between different tissue types is influenced by the amount of tissues it is composed of. After segmentation, the pixel can be characterized as belonging to only one tissue type. Which type will it be depends on the amount in which a certain type is present in the pixel, but also on the segmentation method. Some segmentation methods, for instance, would characterize every pixel that contains any amount of vessel as a vessel pixel.59 We have therefore defined three reference area values in our theoretical considerations. The first value, the optimal vessel area is the number of all pixels which contain at least half of the vessel tissue (pixels marked darker in Figure 3). The second reference value, the maximum vessel area is the number of all pixels that contain any amount of the vessel tissue (all colored pixels in Figure 3). The third reference value is calculated vessel area which is the mathematically calculated area of the perfect circle, expressed in number of pixels. The three reference area values (optimal, maximum and calculated) are calculated for each resolution and each of the three positions of object illustrated in Figure 3. The final optimal vessel area for a certain resolution is the smallest of the optimal vessel area calculated for three positions (in Figure 3 that would be 4 pixels in case A).The final maximum vessel area for a certain resolution is the largest of the maximum vessel area calculated for 3.85 5.13 5.77 Resolution [pix/diam] —S Vmin thresholding of original Emax thresholding of origina ■ Vmin thresholding of vesselness filtered " ""• " Emax thresholding of vesselness filtered FIGURE 4. Median accuracy of segmented area of phantom in perpendicular position as a function of resolution for different segmentation methods: variance minimization thresholding of the original image, entropy maximization thresholding of the original image, vesselness filtered image thresholded by variance minimization thresholding, and vesselness filtered image thresholded by entropy maximization thresholding. 200 180 160 140 120 100 80 60 40 20 2.56 3.85 5.13 5.77 Resolution [pix/diam] 9— Vmin thresholding of original Emax thresholding of origina " Vmin thresholding of vesselness filtered ■ ■ Emax thresholding of vesselness filtered FIGURE 5. Median accuracy of segmented area of phantom in tilted position as a function of resolution for different segmentation methods: variance minimization thresholding of the original image, entropy maximization thresholding of the original image, ves-selness filtered image thresholded by variance minimization thresholding, and vesselness filtered image thresholded by entropy maximization thresholding. three positions (in Figure 3 that would be 12 pixels in cases A and B). If the number of pixel contained in segmented vessel area falls in the range between optimal vessel area and maximum vessel area, we consider the segmentation valid. Otherwise, we count the number of pixels outside this range as pixels missed. The segmentation error is expressed as relative area error, in percent: i ^ гп/п number of pixels missed relative area error I %l =---*100% (3) calculated vessel area Clinical data (ASSD)34,61 and Hausdorff distance. ASSD provides a measure of the average mutual distance between edges of the two surfaces, while Hausdorff distance is in fact the maximum symmetric surface distance. ASSD and Hausdorff distance were calculated according to equations (4) and (5), respectively: Z min IIa - b\\ + У min IIa-b\ 6&B II II „^л II ASSD - — bsB aeA (4) The gold standard for the evaluation of segmentation of clinical data is a segmentation performed by manually determining an optimal threshold for each slice and manually drawing possibly missed contours. The segmentation result was additionally validated by one of the authors (MMM) who is an experienced radiologist and who manually adjusted the segmentation where necessary. The evaluation of the segmentation of clinical data was performed on the level of objects detected in individual slices. Metrics used for validation included a hit rate, i.e. a ratio of the number of detected objects against the number of all objects in the image, sensitivity (SEN = true positives / (true positives + false negatives)), average symmetric surface distance H {A, B) = max jmax(min ||a - A||), max(min ||a - ft||)| (5) where A and B denote the borders of segmented and reference objects, a and b are points on A and B respectively. Ir_^ll denotes the distance between a and b. NA and NB are the number of points on A and B. We have chosen to use ASSD and Hausdorff distance to describe the segmentation specificity rather than a measure of specificity itself (SPEC=true negatives / (false positives + true negatives)) since a high number of true negatives (background) would always yield a high value of specificity. The values of sensitivity, ASSD and Hausdorff distance for the whole image were obtained by calculating a median of those values for all objects. We calculated the median instead of the mean since the data did not conform to Normal distribution. Additional to previously described metrics we also used the receiver operating characteristics (ROC) curve analysis to objectively compare results of image filtering with original and de-biased images.62-64 The ROC curves used were constructed with threshold as a parameter. Results The first part of this section shows the results of segmenting phantom images. There we assess the performance of thresholding algorithms based on variance minimization and entropy maximization on original and vesselness filtered images. The second part shows the results of segmenting images obtained from clinical cases. In this part we present the comparison of methods that performed best on phantoms and the method based on local thresholding, i.e. the proposed method. Images of phantoms For the validation on phantom data, Figure 4 shows relative area error of different segmentation meth- ods for segmentation of tube phantom in perpendicular position under different image resolutions. The thresholding method based on variance minimization produces 0% error on both original images and vesselness filtered images. The thresholding method based on entropy maximization undersegments the vesselness filtered images and highly oversegments the original images. As could be expected, an absolute value of error drops with increasing resolution. Figure 5 also shows the same error as Figure 4, only for the phantom in tilted position. The thresholding method based on variance minimization again produces 0% error on both original images and vesselness filtered images. The thresholding method based on entropy maximization produces an error only in the case of original images, which as expected drops with increasing resolution. Notably, an absolute error of the method based on entropy maximization applied on original images is higher for the phantom with tube in tilted position than for the phantom in perpendicular position. An error for the same thresholding method applied on vesselness filtered images in the case of tilted phantom is 0%. In conclusion, thresholding based on variance minimization outperformed the thresholding based on entropy maximization on both original and vesselness filtered images. Images of clinical cases In this section the thresholding method that performed best on images of phantoms, which is thresholding based on variance minimization, was also applied to images of clinical cases. The thresholding was first applied globally on de-biased original images and on vesselness filtered images. After that we applied our proposed method which is based on local thresholding. Based on visual inspection only it was possible to determine that direct global slice-by-slice thresholding of vesselness filtered images results in large undersegmentation of the vessels. The segmentation inaccuracy is shown in Figure 6, where Figure A shows one slice of the original data while Figure B shows the result of the segmentation of the same slice using thresholding of the result of the vesselness filter. Figure 6.C shows the result of global thresholding of the de-biased original slice based on minimization of variance. Although more accurate than thresholding of the vesselness filtered image, this approach detects many false positives on the liver border. In Figure 6.D we can observe that false positives from Figure 6.C can FIGURE 6. Visual comparison of performance of global thresholding and our proposed method. (A) Original image slice. (B) Results of variance minimization based global thresholding of the vesselnes filtered image. (C) Results of variance minimization based global thresholding of the de-biased original image D. Results of our proposed method. (E) Gold standard - a radiologist segmentation. (F) 3D result of the segmentation by the method in (D). ip ■ ■ ■ ■ 0.9 - - 0.8 ' -0.7 - 0.6 -0.5 - ^ 0.4 - 0.3 - FIGURE 7. Demonstration of performance 0.2 _- . . . . . Original image of simple binary classifier (thresholding) 1111 De-basedmage on original image, original image with Vesselness f ltered 01-1-1-1-1- removed bias and vesselness filtered 0 0.2 0.4 0.6 0.8 1 1 -Specificity image using ROC curves. be avoided by our proposed method which also provides the highest level of accuracy. Figure 6.E shows the gold standard - the radiologist segmentation. Figure 6.F is a 3D representation of the segmentation by the proposed method. To additionally explore the potential of differently filtered images at providing an accurate segmentation, we observed the ROC curves of original images, de-biased images and vesselness filtered images. As shown in Figure 7, optimal thresholding of the de-biased images can provide highly accurate segmentations, while slightly outperforming thresholding of the original images and more significantly of the vesselness filtered images. Regardless of the choice of the threshold, direct thresholding of vesselness filtered images can barely reach the sensitivity above 90%. Final comparison of methods that performed best on phantoms (global thresholding of original de-biased images and vesselness filtered images Original image De-biased image Vesselness filtered 2 3 4 5 Case number Proposed methoc Global Vmin thresholding of de-biase Global Vmin thresholding ofvesselne filtered 2 3 4 5 Case number Proposed method Global Vmin thresholding ofde-biase Global Vmin thresholding ofvesselnes 2 3 4 5 6 Case number Proposed method I Global Vmin thresholding of de-biased original Global Vmin thresholding ofvesselnessfiltered £ 2 £ iJJjijji 2 3 4 5 6 Case number Proposed method I Global Vmin thresholding of de-biased original Global Vmin thresholding of vesselness filtered 5 o 4 3 o 0 0 0 0 6 6 filtered FIGURE 8. Comparison of hit rates for all six clinical cases segmented with three methods: the proposed method, global variance minimization thresholding of the original de-biased image and global variance minimization thresholding of the vesselness filtered image. FIGURE 9. Comparison of median sensitivity for all six clinical cases segmented with three methods: the proposed method, global variance minimization thresholding of the original de-biased image and global variance minimization thresholding of the vesselness filtered image. FIGURE 10. Comparison of median Hausdorff distance for all six clinical cases segmented with three methods: the proposed method, global variance minimization thresholding of the original de-biased image and global variance minimization thresholding of the vesselness filtered image. FIGURE 11. Comparison of median average symmetric surface distance (ASSD) for all six clinical cases segmented with three methods: the proposed method, global variance minimization thresholding of the original de-biased image and global variance minimization thresholding of the vesselness filtered image. based on variance minimization) and the proposed method based on local thresholding is given by observing hit rate, median sensitivity, median Hausdorff distance and median average symmetric surface distance (ASSD) per clinical case. In Figure 8 we can observe that methods based on global thresholding of the original de-biased images have a hit rate around or above 90%, while results of global thresholding of vesselness filtered images identify less than 70% of all objects. Similar results are observed for median sensitivity in Figure 9. The values of median sensitivity are again around or above 90% for global thresholding of original de-biased images and below 70% for global thresholding of vesselness filtered images. The differences between the proposed method and methods based on global thresholding can be observed through median Hausdorff distance and median ASSD in Figures 10 and 11, respectively. Values of median Hausdorff distance for the proposed method are for all cases in the range of around 2.2 pixels to 3.2 pixels. Values of median Hausdorff distance for global thresholding of original cases are in five out of six cases higher than those for the proposed method, in three cases even extremely high (above 10 pixel), indicating overestimation of the threshold on the global level. Values of median Hausdorff distance for thresholding of vesselness filtered images are mostly higher than those observed for the proposed method, ranging between 2.2 pixels and 4 pixels. As for median ASSD, values for all methods are in almost all cases below 1.2 pixels, except for an extreme for global thresholding in the same three cases which also provided extremes for the median Hausdorff distance. Final quantitative results of our proposed segmentation method are given in Tables 2 and 3. In Table 2 we provide results of validating the segmentation of all vessels that are critical for elec-troporation-based treatments of liver metastases as indicated previously in the paper. The mean hit rate for these vessels is high: 96.7% of objects that build up main vessels were detected. The mean value of median sensitivity of the detected objects is 93.7%. The mean error measured through ASSD is 1 pixel, while maximum error in specificity expressed through mean Hausdorff distance reaches 4.26 pixels. The statistics in Table 3 includes all the vessels that were marked by the radiologist. Median sensitivity nearly equals the one of main vessels with 96.65%. Mean value of median ASSD which equals 0.92 pixel and mean value of median Hausdorff distance which equals 2.77 pixels indicate smaller level of error in specificity for smaller, more regularly shaped vessels. Discussion The main aim of the study described in this paper was to find a method which would successfully TABLE 2. Results of segmentation of major hepatic vessels only from six clinical cases. Segmentation was performed by the method based on local thresholding. Results show hit rate of all objects in all slices, median sensitivity (SEN), median average symmetric surface distance and median Hausdorff distance CASE Number of objects Pixel resolution [mm] Hit rate [%] Median SEN Median ASSD [pix] Median ASSD [mm] Median Hausdorff distance [pix] Median Hausdorff distance [mm] 1 43 0.684 92.9 98.0 1.3 0.9 4.4 3.0 2 69 0.684 98.4 96.4 1.1 0.7 3.6 2.5 3 38 0.684 100.0 100.0 1.1 0.7 4.1 2.8 4 31 1.188 96.4 85.3 0.7 0.8 2.2 2.7 5 31 1.188 92.3 84.2 1.3 1.5 8.1 9.6 6 25 1.188 100.0 98.2 0.6 0.7 3.2 3.8 OVERALL (mean) 96.7 93.7 1.0 0.9 4.3 4.1 TABLE 3. Results of segmentation of all hepatic vessels from six clinical cases. Segmentation was performed by the method based on local thresholding. Results show median sensitivity (SEN), median average symmetric surface distance and median Hausdorff distance CASE Number of objects Pixel resolution Median SEN [mm] Median ASSD [pix] Median ASSD [mm] Median Hausdorff distance [pix] Median Hausdorff distance [mm] 1 305 0.684 100.0 1.0 0.7 2.2 1.5 2 347 0.684 100.0 1.2 0.8 3.2 2.2 3 328 0.684 100.0 1.1 0.8 3.2 2.2 4 327 1.188 89.9 0.7 0.8 2.8 3.4 5 400 1.188 90.0 0.6 0.8 2.2 2.7 6 454 1.188 100.0 0.9 1.1 3.0 3.6 OVERALL (mean) 96.7 0.9 0.8 2.8 2.6 segment hepatic vessels from MRI images for the purpose of generating a patient-specific treatment plan for electroporation-based treatment like elec-trochemotherapy and non-thermal irreversible electroporation. The purpose for which the segmentation will be used has resulted in specific criteria the segmentation method must meet. Firstly, the segmentation method must detect all hepatic vessels that are considered critical in electropora-tion-based treatments of the liver, which are basically all major hepatic vessels with branches up to second order. Secondly, the method has to be robust. Thirdly, the method has to perform segmentation with minimal or no user interaction required. As for accuracy of the segmentation method, there were no limits posed prior to the beginning of the study. Having in mind that no segmentation method provides absolutely accurate results we rather aimed at finding the best method that would meet the set criteria and assess what is the maximum inaccuracy that method produces. Only after the maximum inaccuracy has been quantified we can conclude if segmenting hepatic vessels from MRI images for electroporation-based treatments is feasible or not. The first step in finding a method that could segment hepatic vessels from MRI images while satisfying all the mentioned criteria was using the established methods already used on CT images. Since we intended to test several methods we needed means of evaluation that would enable objective comparison of segmentation results. We decided to start with a simple phantom model of a single vessel for detailed observation of methods' behaviors and continue assessing robustness of methods on clinical data. Our first choice of segmentation methods were the most widely used approaches of identifying vessels with vessel-enhancing filters and automatic thresholding. Regarding automatic thresholding, we have tested two different methods: thresholding based on intra-variance minimization and thresholding based on entropy maximization. Both thresholding methods were applied on both original de-biased and vesselness filtered images, thus resulting in in four different combinations. All four segmentation procedure combinations were run on both phantom data and clinical data. The results of evaluation on phantom data showed that intra-variance minimization thresholding applied on both original and vesselness filtered images of phantoms provides segmentation without errors. An entropy-maximizing thresholding applied on phantom data was not successful and showed tendency to over-estimate the optimal threshold, both for original and vesselness-filtered images. Application of variance-minimization thresholding alone and in combination with vessel enhancement on clinical data did not provide satisfying results. Although variance-minimization thresholding on the level of the whole slice had a high hit-rate and sensitivity (as seen in Figures 8 and 9, respectively) it resulted in large overseg-mentation error in half of clinical cases (seen in Figures 10 and 11). Namely, the large oversegmen-tation error appeared in clinical cases with larger image resolution. The reason for this is the fact that the difference between the size (expressed in number of pixels) of foreground (vessels) and the size of background (liver) is larger in images with higher resolution. Additionally, larger difference between foreground and background size also means larger difference between their variance, which was shown to cause oversegmentation of foreground objects when the intra-variance minimization thresholding method is applied.65-67 The other issue of variance-minimization thresholding applied on original images was that it detected not only vessels but also the liver border which had intensity values similar to vessels (Figure 6.C). Vessel enhancement on the other hand was not sensitive enough. The reason for such low sensitivity is primarily large slice thickness of the clinical data. With a gap of 3 mm between neighboring slices the changes in vessel forms are not smooth enough. Most cases where vessel enhancement was used so far had much smaller slice thickness, with sometimes even isotropic voxels.20,30323336 Also, hepatic vessels as seen in medical images, especially major vessels, do not have a shape of a perfect tube. These shape irregularities result in smaller values of vesselness for large vessels which can then not be detected by automatic thresholding. The complementing weaknesses of vessel enhancement and thresholding on a global level resulted in a segmentation method that would combine these two approaches in a different way. The proposed segmentation method utilizes vessel enhancement thresholded with a low threshold to determine the existence of a vessel. The automatic thresholding method then performs the thresholding in a small region of interest just around the location of a vessel detected in the first step. Regarding the dimension in which each step of the proposed method was performed, we have utilized 3D information only to determine the basic vessel model. For determining the accurate vessel borders we relied on the original 2D information in order to avoid interpolation necessary to obtain isotropic voxels. The evaluation of the proposed method on clinical data resulted in no large over-segmentations (Figures 10 and 11) with high values of hit-rate (Figure 8) and sensitivity (Figure 9) for both major vessels and all vessels together (tables 2 and 3, respectively). Value of average symmetric surface distance indicates that an error in segmentation of any vessel, major or small is mostly likely to be smaller than 1 pixel. Value of the median Hausdorff distance indicates that, if a larger segmentation error, i.e. an outlier appears, it is most likely to be 4.3 pixel for major vessels and 2.8 pixel in general, as seen in Tables 2 and 3, respectively. A comparison with results of previously developed methods for segmentation of hepatic vessels from CT images was difficult. The general obstacle for such comparison is lack of a publicly available database that all methods would be tested on as well as the lack of unified, standard criteria for validation. Some attempts to standardize validation that would enable direct comparison were made through MICCAI grand challenges which were already organized for segmentation of liver and liver tumors from CT images.6168 A similar grand challenge yet remains to be organized for segmentation of hepatic vessels from images of any modality. The main obstacle to performing any kind of comparison of our results was the fact that there are not many results to be compared with. We have searched the Web of Science directory for all papers on the topic of hepatic/liver vessel segmentation from CT images, along with referenced and referencing papers of matches. The search yielded only 19 matches in the past 20 years. Out of 19 papers, 17 of them were tested on clinical data while the remaining 2 were tested only on phantom data. Out of the mentioned 17 papers only 1 paper39 included a detailed evaluation similar to ours in which the authors assessed the method accuracy and error in the form of average distance as we have. The results from that paper report an average distance of 0.9 mm to 4.4 mm, which is comparable to our findings. The authors also state that »the misclassified vessels do not deviate from the ground truth far away«.39 In the majority of the remaining 16 papers the evaluation was qualitative based on visual inspection of "goodness" of the segmentation. Although no definite conclusions can be made about the validity of our method based on direct comparison with other methods, positive conclusions can be drawn with respect to the criteria set at the beginning of our research. Firstly, the method we propose is able to detect all vessels critical for electroporation-based treatments of liver with above 93% sensitivity. The errors that are produced in segmentation of critical vessels appear in amount which is sufficiently low to enable a fast correction by an expert radiologist. Namely, manual validation by an expert radiologist is a step that should still be mandatory in the process of treatment planning and would also provide valuable feedback for improvement of the segmentation method. Secondly, the proposed segmentation method is robust to variations in image resolution, imaging devices and protocols. We have shown that the method consistently provided results of high sensitivity when validated on images of different intra-slice resolution. Regarding the slice thickness the results could only be improved using smaller thickness while we would not suggest using images with slices thicker than 3 mm because of high complexity of hepatic vasculature. Given the fact that main method parameters (namely thresholds and parameter c that regulates response of the ves-selness filter to high contrast) are automatically calculated from the image, the method is expected to perform well regardless of the imaging device. In order to be used on image series imaged with different protocols only one change should be made. Should the vessels in such case appear brighter instead of darker against the background a minus sign should be added in front of the equation for the vesselness filter. Thirdly, the method is performed completely automatically with no user input, assuming that the liver is segmented automatically.17 Finally, the evaluation of the proposed method resulted in a quantitative estimation of a segmentation error which is most likely to appear in the worst case of segmentation - 2.8 pixels. Assuming the lowest image resolution of our test images, which was 1.188 mm per pixel, the above mentioned segmentation error would translate to 3.3 mm. For comparison, a study on registering CT with MRI images of the liver performed in 2005 reports a mean registration error of 14.0-18.9 mm,69 while a newer study from 2010 reports a mean error of 3.3 mm.70 If a segmentation of hepatic vessels was performed on CT images and then registered with MRI images for colorectal metastases segmentation the total error of vessel model would be even higher due to the error of segmentation on CT images itself. It is thus indeed more feasible to perform the hepatic vessel segmentation with our proposed method directly on MRI images. Still, in order to give a final decision if the proposed method of segmentation of hepatic vessels from MRI images can be used in treatment planning of liver tumors with electroporation-based treatments an additional assessment is needed. The additional assessment would be based on introducing the estimated value of the segmentation error - 2.8 pixels - into treatment plan calculations and observe its influence on the distribution of the electric field. Acknowledgements This work was supported by the Slovenian Research Agency. Research was conducted in the scope of the Electroporation in Biology and Medicine, European Associated Laboratory. The first author would like to thank Uroš Mitrović for constructive discussion on image segmentation and Dr. Barbara Mali for discussion on statistical methods, both from University of Ljubljana, Faculty of Electrical Engineering. This manuscript is a result of the networking efforts of the COST Action TD1104 (http:// www.electroporation.net). References 1 Neumann E, Schaefer-Ridder M, Wang Y, Hofschneider PH. Gene transfer into mouse lyoma cells by electroporation in high electric fields. EMBO J 1982; 1: 841-5. 2 Kotnik T, Kramar P, Pucihar G, Miklavcic D, Tarek M. Cell membrane elec-troporation- Part 1: The phenomenon. IEEEElectr Insul Mag 2012; 28: 14-23. 3 Mir LM, Orlowski S, Belehradek J, Paoletti C. Electrochemotherapy potentiation of antitumour effect of bleomycin by local electric pulses. Eur J Cancer 1991; 27: 68-72. 4 Sersa G, Miklavcic D, Cemazar M, Rudolf Z, Pucihar G, Snoj M. Electrochemotherapy in treatment of tumours. Eur J Surg Oncol 2008; 34: 232-40. 5 Mali B, Jarm T, Snoj M, Sersa G, Miklavcic D. Antitumor effectiveness of electrochemotherapy: a systematic review and meta-analysis. Eur J Surg Oncol 2013; 39: 4-16. 6 Lacković I, Magjarević R, Miklavčič D. Three-dimensional finite-element analysis of joule heating in electrochemotherapy and in vivo gene electro-transfer. IEEE Trans Dielectr Electr Insul 2009; 16: 1338-47. 7 Davalos R V., Mir LM, Rubinsky B. Tissue Ablation with Irreversible Electroporation. Ann Biomed Eng 2005; 33: 223-31. 8 Chu KF, Dupuy DE. Thermal ablation of tumours: biological mechanisms and advances in therapy. Nat Rev Cancer 2014; 14: 199-208. 9 Kos B, Zupanic A, Kotnik T, Snoj M, Sersa G, Miklavcic D. Robustness of treatment planning for electrochemotherapy of deep-seated tumors. J Membr Biol 2010; 236: 147-53. 10 Miklavcic D, Beravs K, Semrov D, Cemazar M, Demsar F, Sersa G. The importance of electric field distribution for effective in vivo electroporation of tissues. Biophys J 1998; 74: 2152-8. 11 Mali B, Miklavcic D, Campana LG, Cemazar M, Sersa G, Snoj M, et al. Tumor size and effectiveness of electrochemotherapy. Radiol Oncol 2013; 47: 3241. 12 Miklavcic D, Snoj M, Zupanic A, Kos B, Cemazar M, Kropivnik M, et al. Towards treatment planning and treatment of deep-seated solid tumors by electrochemotherapy. Biomed Eng Online 2010; 9: 10. 13 Pavliha D, Kos B, Zupanič A, Marčan M, Serša G, Miklavčič D. Patient-specific treatment planning of electrochemotherapy: Procedure design and possible pitfalls. Bioelectrochemistry 2012; 87: 265-73. 14 Kos B, Zupanic A, Kotnik T, Snoj M, Sersa G, Miklavcic D. Robustness of treatment planning for electrochemotherapy of deep-seated tumors. J Membr Bio! 2010; 236: 147-53. 15 Županič A, Čorović S, Miklavčič D. Optimization of electrode position and electric pulse amplitude in electrochemotherapy. Radio! Onco! 2008; 42: 93-101. 16 Edhemovic I, Gadzijev EM, Brecelj E, Miklavcic D, Kos B, Zupanic A, et al. Electrochemotherapy: a new technological approach in treatment of me-tastases in the liver. Techno! Cancer Res Treat 2011; 10: 475-85. 17 Pavliha D, Mušič MM, Serša G, Miklavčič D. Electroporation-based treatment planning for deep-seated tumors based on automatic liver segmentation of MRI images. PLoS One 2013; 8: e69068. 18 Fraass B, Doppke K, Hunt M, Kutcher G, Starkschall G, Stern R, et al. American Association of Physicists in Medicine Radiation Therapy Committee Task Group 53: quality assurance for clinical radiotherapy treatment planning. Med Phys 1998; 25: 1773-829. 19 Payne S, Flanagan R, Pollari M, Alhonnoro T, Bost C, O'Neill D, et al. Image-based multi-scale modelling and validation of radio-frequency ablation in liver tumours. Phi!os Trans A Math Phys Eng Sci 2011; 369: 4233-54. 20 Alhonnoro T, Pollari M, Lilja M, Flanagan R, Kainz B, Muehl J, et al. Vessel Segmentation for Ablation Treatment Planning and Simulation. In: Jiang T, Navab N, Pluim JPW, et al., editors. Medical image computing and computer-assisted intervention : MICCAI International Conference on Medical Image Computing and Computer-Assisted Intervention. Volume 6361. Berlin, Heidelberg: Springer; 2010. p. 45-52. 21 Hansen PD, Rogers S, Corless CL, Swanstrom LL, Siperstien AE. Radiofrequency ablation lesions in a pig liver model. J Surg Res 1999; 87: 114-21. 22 Sersa G, Jarm T, Kotnik T, Coer A, Podkrajsek M, Sentjurc M, et al. Vascular disrupting action of electroporation and electrochemotherapy with bleomy-cin in murine sarcoma. Br J Cancer 2008; 98: 388-98. 23 Lesage D, Angelini ED, Bloch I, Funka-Lea G. A review of 3D vessel lumen segmentation techniques: models, features and extraction schemes. Med Image Ana! 2009; 13: 819-45. 24 Glombitza G, Lamade W, Demiris AM, Gopfert M, Mayer A, Bahner ML, et al. Virtual planning of liver resections: image processing, visualization and volumetric evaluation. Int J Med Inform 1999; 53: 225-37. 25 Zahlten C, Jürgens H, Evertsz CJG, Leppek R, Peitgen HO, Klose KJ. Portal vein reconstruction based on topology. Eur J Radio! 1995; 19: 96-100. 26 Selle D, Preim B, Schenk A, Peitgen HO. Analysis of vasculature for liver surgical planning. IEEE Trans Med Imaging 2002; 21: 1344-57. 27 Sato Y, Nakajima S, Shiraga N, Atsumi H, Yoshida S, Koller T, et al. Three-dimensional multi-scale line filter for segmentation and visualization of curvilinear structures in medical images. Med Image Ana! 1998; 2: 143-68. 28 Frangi AF, Niessen WJ, Vincken KL, Viergever MA. Multiscale vessel enhancement filtering. In: Wells WM, Colchester A, Delp S, editors. Medica! Image Computing and Computer-Assisted Intervention - MICCAI '98 (1998). Berlin, Heidelberg: Springer; 1998. p. 130-7. 29 Krissian K, Malandain G, Ayache N, Vaillant R, Trousset Y. Model-based detection of tubular structures in 3D images. Comput Vis Image Underst 2000; 80: 130-71. 30 Conversano F, Franchini R, Demitri C, Massoptier L, Montagna F, Maffezzoli A, et al. Hepatic vessel segmentation for 3D planning of liver surgery experimental evaluation of a new fully automatic algorithm. Acad Radio! 2011; 18: 461-70. 31 Bauer C, Pock T, Sorantin E, Bischof H, Beichel R. Segmentation of interwoven 3d tubular tree structures utilizing shape priors and graph cuts. Med Image Ana! 2010; 14: 172-84. 32 Shang Q, Clements L, Galloway RL, Chapman WC, Dawant BM. Adaptive directional region growing segmentation of the hepatic vasculature. In: Reinhardt JM, Pluim JPW, editors. Proceedings of SPIE. Volume 6914. SPIE; 2008. p. 69141F-10. 33 Beichel R, Pock T, Janko C, Zotter RB, Reitinger B, Bornik A, et al. Liver segment approximation in CT data for surgical resection planning. In: Fitzpatrick JM, Sonka M, editors. Proceedings of SPIE. SPIE; 2004. p. 1435-46. 34 Wang G, Zhang S, Li F, Gu L. A new segmentation framework based on sparse shape composition in liver surgery planning system. Med Phys 2013; 40: 051913. 35 Soler L, Delingette H, Malandain G, Montagnat J, Ayache N, Koehl C, et al. Fully automatic anatomical, pathological, and functional segmentation from CT scans for hepatic surgery. Comput aided Surg Off J Int Soc Comput Aided Surg 2001; 6: 131-42. 36 Pamulapati V, Wood BJ, Linguraru MG. Intra-hepatic vessel segmentation and classification in multi-phase CT using optimized graph cuts. In: Yoshida H, Sakas G, Linguraru MG, editors. 2011 IEEE Internationa! Symposium on Biomedica! Imaging: From Nano to Macro. Volume 7029. IEEE; 2011. p. 1982-5. 37 Esneault S, Lafon C, Dillenseger J-L. Liver vessels segmentation using a hybrid geometrical moments/graph cuts method. IEEE Trans Biomed Eng 2010; 57: 276-83. 38 Shang Y, Deklerck R, Nyssen E, Markova A, de Mey J, Yang X, et al. Vascular active contour for vessel tree segmentation. IEEE Trans Biomed Eng 2011; 58: 1023-32. 39 Chi Y, Liu J, Venkatesh SK, Huang S, Zhou J, Tian Q, et al. Segmentation of liver vasculature from contrast enhanced CT images using context-based voting. IEEE Trans Biomed Eng 2011; 58: 2144-53. 40 Bipat S, van Leeuwen MS, Comans EFI, Pijl MEJ, Bossuyt PMM, Zwinderman AH, et al. Colorectal liver metastases: CT, MR imaging, and PET for diagnosis--meta-analysis. Radio!ogy 2005; 237: 123-31. 41 Chan VO, Das JP, Gerstenmaier JF, Geoghegan J, Gibney RG, Collins CD, et al. Diagnostic performance of MDCT, PET/CT and gadoxetic acid (Primovist(®))-enhanced MRI in patients with colorectal liver metastases being considered for hepatic resection: initial experience in a single centre. Ir J Med Sci 2012; 181: 499-509. 42 Floriani I, Torri V, Rulli E, Garavaglia D, Compagnoni A, Salvolini L, et al. Performance of imaging modalities in diagnosis of liver metastases from colorectal cancer: a systematic review and meta-analysis. J Magn Reson Imaging 2010; 31: 19-31. 43 Fowler KJ, Linehan DC, Menias CO. Colorectal liver metastases: state of the art imaging. Ann Surg Onco! 2013; 20: 1185-93. 44 Mainenti PP, Mancini M, Mainolfi C, Camera L, Maurea S, Manchia A, et al. Detection of colo-rectal liver metastases: prospective comparison of contrast enhanced US, multidetector CT, PET/CT, and 1.5 Tesla MR with extracellular and reticulo-endothelial cell specific contrast agents. Abdom Imaging 2010; 35: 511-21. 45 Muhi A, Ichikawa T, Motosugi U, Sou H, Nakajima H, Sano K, et al. Diagnosis of colorectal hepatic metastases: comparison of contrast-enhanced CT, contrast-enhanced US, superparamagnetic iron oxide-enhanced MRI, and gadoxetic acid-enhanced MRI. J Magn Reson Imaging 2011; 34: 326-35. 46 Kranjc M, Bajd F, Serša I, Miklavčič D. Magnetic resonance electrical impedance tomography for monitoring electric field distribution during tissue electroporation. IEEE Trans Med Imaging 2011; 30: 1771-8. 47 Kranjc M, Bajd F, Sersa I, Woo EJ, Miklavcic D. Ex vivo and in silico feasibility study of monitoring electric field distribution in tissue during electropora-tion-based treatments. PLoS One 2012; 7: e45737. 48 Pavliha D, Kos B, Marčan M, Zupanič A, Serša G, Miklavčič D. Planning of electroporation-based treatments using Web-based treatment planning software. J Membr Bio! 2013; 246: 83342. 49 Vovk U, Pernus F, Likar B. A review of methods for correction of intensity inhomogeneity in MRI. IEEE Trans Med Imaging 2007; 26: 405-21. 50 Zheng Y, Grossman M, Awate SP, Gee JC. Automatic correction of intensity nonuniformity from sparseness of gradient distribution in medical images. Med Image Comput Comput Assist Interv 2009; 12: 852-9. 51 Sankur B. Survey over image thresholding techniques and quantitative performance evaluation. J E!ectron Imaging 2004; 13: 146. 52 Otsu N. A Threshold Selection Method from Gray-Level Histograms. IEEE Trans Syst Man Cybern 1979; 9: 62-6. 53 Kapur JN, Sahoo PK, Wong AKC. A new method for gray-level picture thresholding using the entropy of the histogram. Comput Vision, Graph Image Process 1985; 29: 273-85. 54 Yaroslavsky LP. Efficient algorithm for discrete sinc interpolation. App! Opt 1997; 36: 460-3. 55 Van Dongen E, van Ginneken B. Automatic segmentation of pulmonary vasculature in thoracic CT scans with local thresholding and airway wall removal. In: 2010 IEEE Internationa! Symposium on Biomedica! Imaging: From Nano to Macro. IEEE; 2010. p. 668-71. 56 Augusto L, Braga F, Silveira C, Paula V, Fazan S. Arterial diameter of the celiac trunk and its branches. Anatomical study 1 Diametro arterial do tronco celiaco e seus ramos. Estudo Anatomico 2009; 24: 43-7. 57 Olabarriaga S., Breeuwer M, Niessen W. Evaluation of Hessian-based filters to enhance the axis of coronary arteries in CT images. Int Congr Ser 2003; 1256: 1191-6. 58 Merkx M a G, Bescos JO, Geerts L, Bosboom EMH, van de Vosse FN, Breeuwer M. Accuracy and precision of vessel area assessment: manual versus automatic lumen delineation based on full-width at half-maximum. J Magn Reson Imaging 2012; 36: 1186-93. 59 Jiang J, Haacke EM, Dong M. Dependence of vessel area accuracy and precision as a function of MR imaging parameters and boundary detection algorithm. J Magn Reson Imaging 2007; 25: 1226-34. 60 Virtanen JM, Komu ME, Parkkola RK. Quantitative liver iron measurement by magnetic resonance imaging: in vitro and in vivo assessment of the liver to muscle signal intensity and the R2* methods. Magn Reson Imaging 2008; 26: 1175-82. 61 Deng X, Du G. Editorial: 3D segmentation in the clinic: A grand challenge II-liver tumor segmentation. In: International Conference on Medical Image Computing and Computer Assisted Intervention. 2008. p. 1-12. 62 Van Erkel a R, Pattynama PM. Receiver operating characteristic (ROC) analysis: basic principles and applications in radiology. Eur J Radiol 1998; 27: 88-94. 63 Obuchowski NA. Receiver operating characteristic curves and their use in radiology. Radiology 2003; 229: 3-8. 64 Wagner RF, Metz CE, Campbell G. Assessment of medical imaging systems and computer aids: a tutorial review. Acad Radiol 2007; 14: 723-48. 65 Hou Z, Hu Q, Nowinski WL. On minimum variance thresholding. Pattern Recognit Lett 2006; 27: 1732-43. 66 Medina-Carnicer R, Madrid-Cuevas FJ. Unimodal thresholding for edge detection. Pattern Recognit 2008; 41: 2337-46. 67 Xu X, Xu S, Jin L, Song E. Characteristic analysis of Otsu threshold and its applications. Pattern Recognit Lett 2011; 32: 956-61. 68 Heimann T, Van Ginneken B, Styner MA, Arzhaeva Y, Aurich V, Bauer C, et al. Comparison and evaluation of methods for liver segmentation from CT datasets. IEEE Trans Med Imaging 2009; 28: 1251-65. 69 Christina Lee W-C, Tublin ME, Chapman BE. Registration of MR and CT images of the liver: comparison of voxel similarity and surface based registration algorithms. Comput Methods Programs Biomed 2005; 78: 101-14. 70 Elhawary H, Oguro S, Tuncali K, Morrison PR, Tatli S, Shyn PB, et al. Multimodality non-rigid image registration for planning, targeting and monitoring during CT-guided percutaneous liver tumor cryoablation. Acad Radiol 2010; 17: 1334-44.