=Paper= {{Paper |id=Vol-1175/CLEF2009wn-ImageCLEF-UnayEt2009 |storemode=property |title=Medical Image Retrieval and Automatic Annotation: VPA-SABANCI at ImageCLEF 2009 |pdfUrl=https://ceur-ws.org/Vol-1175/CLEF2009wn-ImageCLEF-UnayEt2009.pdf |volume=Vol-1175 |dblpUrl=https://dblp.org/rec/conf/clef/UnaySOCE09a }} ==Medical Image Retrieval and Automatic Annotation: VPA-SABANCI at ImageCLEF 2009== https://ceur-ws.org/Vol-1175/CLEF2009wn-ImageCLEF-UnayEt2009.pdf
   Medical Image Retrieval and Automatic
Annotation: VPA-SABANCI at ImageCLEF 2009
      Devrim Unay, Octavian Soldea, Sureyya Ozogur-Akyuz, Mujdat Cetin, Aytul Ercil
                Computer Vision and Pattern Analysis (VPA) Laboratory
                       Faculty of Engineering and Natural Sciences
                           Sabanci University, Istanbul, Turkey
          {unay, octavian, sozogur, mcetin, aytulercil}@sabanciuniv.edu


                                            Abstract
     Advances in the medical imaging technology has lead to an exponential growth in the
     number of digital images that needs to be acquired, analyzed, classified, stored and
     retrieved in medical centers. As a result, medical image classification and retrieval has
     recently gained high interest in the scientific community. Despite several attempts, such
     as the yearly-held ImageCLEF Medical Image Annotation Competition, the proposed
     solutions are still far from being sufficiently accurate for real-life implementations.
        In this paper we summarize the technical details of our experiments for the Im-
     ageCLEF 2009 medical image annotation task. We use a direct and two hierarchical
     classification schemes that employ support vector machines and local binary patterns,
     which are recently developed low-cost texture descriptors. The direct scheme employs
     a single SVM to automatically annotate X-ray images. The two proposed hierarchi-
     cal schemes divide the classification task into sub-problems. The first hierarchical
     scheme exploits ensemble SVMs trained on IRMA sub-codes. The second learns from
     subgroups of data defined by frequency of classes. Our experiments show that hier-
     archical annotation of images by training individual SVMs over each IRMA sub-code
     dominates its rivals in annotation accuracy with increased process time relative to the
     direct scheme.

Categories and Subject Descriptors
I.4 [Image Processing and Computer Vision]: I.4.7 Feature Measurement; I.4.10 Image
Representation; I.5 [Pattern Recognition]: I.5.2 Design Methodology; I.5.4. Applications; H.3
[Information Storage and Retrieval]: H.3.1 Content Analysis and Indexing; H.3.3 Information
Search and Retrieval; H.3.4 Systems and Software

General Terms
Measurement, Performance, Experimentation

Keywords
Content-based image retrieval, Medical image annotation, Image processing, Evaluation, Hierar-
chical classification
1     Introduction
Digital medical images, such as standard radiographs (X-Ray) and computed tomography (CT)
images, represent a huge part of the data that need to be stored, archived, retrieved, and shared
among medical centers. Manual labeling of this data is not only time consuming, but also error-
prone due to inter/intra-observer variations. In order to realize an accurate classification of digital
medical images one needs to develop tools that allow high performance automatic image annota-
tion, i.e. a given image is automatically labeled with a text or a code without any user interaction.
    Several attempts in the field of medical images have been performed in the past. For example,
the WebMRIS system [3] aims at retrieving cervical spinal X-Ray images, whereas the ASSERT
system [8] focuses on retrieving CT images of lung. While these efforts consider retrieving a specific
body part only, other initiatives have been taken in order to retrieve multiple body parts.
    The ImageCLEF Medical Image Annotation task, run as part of the Cross-Language Evalua-
tion Forum (CLEF) campaign, is a yearly held medical image annotation challenge that aims in
automatic classification of an X-Ray image archive containing more than 12,000 images randomly
taken from the medical routine. The ImageCLEF Medical Annotation dataset contains images
of different body parts of people from different ages, of different genders, under varying viewing
angles and with or without pathologies.
    A potent classification system requires the image data to be translated into a more compact and
more manageable representation containing descriptive features. Several feature representations
have been investigated in the past for such a classification task. Among others, image features,
such as average value over the complete image or its sub-regions [7] and color histograms [4],
have been investigated. Recently in [2], texture features like local binary patterns (LBP) [6]
have been shown to outperform other types of low-level image features in classification of X-Ray
images. Subsequently in [10], it has been shown that retaining only the relevant features by
applying attribute selection on local binary patterns achieves comparable classification accuracies
with smaller feature sets, thus leading to reduced processing time and storage space requirements.
    A less investigated path is to exploit from hierarchical organization of medical data, such as the
ImageCLEF data labeled by the IRMA coding system, using ensemble classifiers. Accordingly, in
this paper we explore the annotation performance of two hierarchical classification schemes based
on IRMA sub-codes and frequency of classes, and compare them to the well-known single-classifier
scheme over the ImageCLEF-2009 Medical Annotation dataset.
    The paper is organized as follows. Section 2 presents our feature extraction and classification
steps in detail. Then, in Section 3 we introduce the image database and the experimental eval-
uation process performed. And finally, Sections 4 and 5, present corresponding results and our
conclusions, respectively.


2     Method
2.1    Feature Extraction
We extract spatially enhanced local binary patterns as features from each image in the database.
LBP [6] is a gray-scale invariant local texture descriptor with low computational complexity. The
LBP operator labels image pixels by thresholding a neighborhood of each pixel with the center
value and considering the results as a binary number. The neighborhood is formed by a symmetric
neighbor set of P pixels on a circle of radius R. Formally, given a pixel at (xc ,yc ), the resulting
LBP code can be expressed in the decimal form as follows :
                                                       P
                                                       X −1
                                 LBPP,R (xc , yc ) =          s(in − ic )2n                        (1)
                                                       n=0

where n runs over the P neighbors of the central pixel, ic and in are the gray-level values of the
central pixel and the neighbor pixel, and s(x) is 1 if x ≥ 0 and 0 otherwise.
Figure 1: The image is divided into 4x4 non-overlapping sub-regions from which LBP histograms
are extracted and concatenated into a single, spatially enhanced histogram.



    After labeling an image with a LBP operator, a histogram of the labeled image fl (x, y) can be
defined as                      X
                           Hi =     I(fl (x, y) = i),  i = 0, . . . , L − 1                    (2)
                                    x,y

where L is the number of different labels produced by the LBP operator, and I(A) is 1 if A is true
and 0 otherwise.
    The derived LBP histogram contains information about the distribution of local micro-patterns,
such as edges, spots and flat areas, over the image. Following [6], not all LBP codes are informative,
therefore we use the uniform version of LBP and reduce the number of informative codes from
256 to 59 (58 informative bins + one bin for noisy patterns). As in [2], we divide the images into
4x4 non-overlapping sub-regions and concatenate the LBP histograms extracted from each region
into a single, spatially enhanced feature histogram (Figure 1). This step aims at obtaining a more
local description of the image.
    Finally, we obtain a total of 944 features per image. In order to avoid domination of attributes
with greater numeric ranges over small ones, we linearly scale each feature to [-1,+1] range before
presenting them to the classifier.

2.2     Image Annotation
In this work we use a support vector machine (SVM) based learning framework to automatically
annotate the images. SVM [1] is a popular machine learning algorithm that provide good results
for general classification tasks in the computer vision and medical domains: e.g. nine of the ten
best models in ImageCLEFmed 2006 competition were based on SVM [5]. In a nutshell, SVM
maps data to a higher-dimensional space using kernel functions and performs linear discrimination
in that space by simultaneously minimizing the classification error and maximizing the geometric
margin between the classes.
    Among all available kernel functions for data mapping in SVM, Gaussian radial basis function
is the most popular choice, and therefore it is used here.In this work we used LibSVM1 library
(version 2.89) for SVM and empirically found its optimum parameters on the dataset.

2.2.1   Direct Annotation Scheme
In the direct annotation scheme, we classify images by using a single SVM with one versus all
multi-class model.
  1 Available at http://www.csie.ntu.edu.tw/ cjlin/libsvm
Figure 2: Illustration of hierarchical classification based on IRMA sub-codes. A separate SVM is
trained for each sub-code, and final decision is formed by concatenating predictions of each SVM.




Figure 3: Illustration of second hierarchical SVM scheme for m = 2. The first cluster, C1 , consists
of classes {L1 , L2 , U1 } . The second cluster, C2 , consists of {L3 , L4 , U2 } , and so on.



2.2.2    Hierarchical Annotation Schemes
To the contrary, hierarchical schemes break down the annotation task to sub-problems by dividing
the data into subgroups based on 1) IRMA sub-codes (H-1), and 2) frequency of classes (H-2).
     In the IRMA coding system, images are categorized in a hierarchical manner based on four sub-
codes describing image modality, image orientation, body region examined, and biological system
investigated. Accordingly, in our IRMA sub-codes based hierarchical scheme we train a separate
SVM for each sub-code and merge their predictions to form the final decision, as illustrated in
Figure 2.
     On the contrary, the second hierarchical scheme successively divides the data into sub-groups
based on frequency of classes and trains a separate SVM on each sub-group (Figure 3). Let
L1 , L2 , . . . , Ln be the set of classes in the training set and m ∈ N be a positive integer param-
eter. Without loss of generality, assume L1 , L2 , . . . , Ln are sorted in their decreasing cardinal-
ity values. We divide the training set in a sequence clusters C1 , CS             2 , . . . , Ck , such that
                                                                                                         Sn C 1 =
                                                                                     n
{L1 , L2 , . . . , Lm , U1 } , C2 = {Lm+1 , Lm+2 , . . . , L2m , U2 } , where U1 = i=m+1 Li , U2 = i=2m Li ,
and so on, see Figure 3. For each Ci we train a SVM. Let Si be the SVM trained on Ci . When
classifying, we begin from S1 . If S1 suggests one of the L1 , L2 , . . . , Lm labels, then we consider this
result a valid classification. If the result is U1 , then we proceed further to S2 . We follow recursively
this procedure, until we eventually reach Sk , which finishes the classification procedure. Note that
we adjust Ck to include only Li labels.
                                                          Accuracy (%)
                Run                   Type    2005    2006 2007 2008         Average
                VPA-SABANCI-1         D       88.0    83.2 83.2 83.1         84.4
                VPA-SABANCI-2         H-1     88.0    83.2 91.7 93.0         89.0
                VPA-SABANCI-3         H-2     83.3    77.4 77.6 77.6         79.0

Table 1: Performance of significant VPA-SABANCI runs on training data. D refers to direct
scheme, while H-1 and H-2 refer to hierarchical schemes based on IRMA code and data distribution,
respectively.


3     Experimental Setup
3.1    Image Data
The database released for the ImageCLEF-2009 Medical Annotation task includes 12677 fully
classified (2D) radiographs for training and a separate test set consisting of 2000 radiographs.
The aim is to automatically classify the test set using four different label sets including 57 to 193
distinct classes. A more detailed explanation of the database and the tasks can be found in [9].

3.2    Evaluation
We evaluate our SVM-based learning using two schemes depending on the availability of test data
labels: 1)5-fold cross validation if test data labels are missing, and 2)ImageCLEF error counting
scheme, otherwise. In the former scheme, the training database is partitioned into five subsets.
Each subset is used once for testing while the rest are used for training, and the final result is
assigned as the average of the five validations. Note that for each validation all classes were equally
divided among the folds. We measure the overall classification performance using accuracy, which
is the number of correct predictions divided by the total number of images. To the contrary,
the error counting scheme is introduced by the contest organizers to compare all runs submitted.
Further details on this scheme can be found in [9].

3.3    Runs Submitted
As Computer Vision and Pattern Analysis (VPA) Laboratory of Sabanci University, we submitted
three different runs to the ImageCLEF 2009 medical image annotation task. One obtained by the
direct scheme (VPA-SABANCI-1), and two with the hierarchical schemes (VPA-SABANCI-2 and
-3). For each run, the optimum parameter setting was realized by trial-and-error.


4     Results
In this section, we present the results obtained by the proposed annotation schemes. In Table 1
we observe the results realized on the training database with 5-fold cross-validation. Hierarchical
scheme based on IRMA sub-codes clearly outperforms the others, especially in terms of the 2007,
2008 and overall accuracies.
    Table 2 provides a detailed performance comparison of the direct scheme and the IRMA sub-
codes based hierarchical one over 2007 and 2008 labels. Simplifying the classification task by
training a separate SVM over each sub-code, considerably improves the final accuracy relative to
the usage of a single SVM. Furthermore, 2008 accuracies of individual SVMs excel those of 2007
despite higher number of classes (thus a more difficult classification problem). The underlying
reason for this observation may be attributed to the more realistic labels of 2008.
    In Table 3 we present the results achieved on the test dataset in terms of prediction errors. As
observed, IRMA sub-codes based hierarchical scheme (H-1) outperforms its rivals again. With this
performance, VPA-SABANCI-2 run is ranked 7th among 18 runs submitted to the competition.
                                         Hierarchical by IRMA sub-codes            Direct
                               SVM1         SVM2       SVM3     SVM4       Final     -
         2007 accuracy (%)     96.7(5)     85.6(27) 88.0(66) 96.4(6)       91.7    83.2
         2008 accuracy (%)     99.2(6)     86.3(34) 88.0(97) 98.5(11)      93.0    83.1

Table 2: Efficacy of hierarchical classification based on IRMA sub-codes. Values in parenthesis
refer to the number of distinct classes for that sub-task.

                                                             Error
              Run                  Type     2005    2006   2007    2008      Sum
              VPA-SABANCI-1        D        578     462    201.31 272.61     1513.92
              VPA-SABANCI-2        H-1      578     462    155.05 261.16     1456.21
              VPA-SABANCI-3        H-2      587     498    169.33 300.44     1554.77

Table 3: Performance of significant VPA-SABANCI runs on test data. D refers to direct scheme,
while H-1 and H-2 refer to hierarchical schemes based on IRMA code and data distribution,
respectively.


   Table 4 demonstrates the computational requirements of the proposed schemes for testing.
As observed, hierarchical schemes require over 4-fold resources than the direct scheme on a single
processor architecture. Nevertheless, this additional requirement can be canceled out by parallel
processing.


5    Conclusion
In this paper we have introduced a classification work with the aim of automatically annotating
X-Ray images. We have explored the annotation performances of two hierarchical classification
schemes based on individual SVMs trained on IRMA sub-codes and frequency of classes, and com-
pared the results with the popular single-classifier scheme. Our experiments on the ImageCLEF-
2009 Medical Annotation database revealed that breaking the annotation problem down to sub-
problems by training individual SVMs over each IRMA sub-code outperforms its rivals in terms
of annotation accuracy with the compromise of increased computational expense.


References
 [1] C. J. C. Burges. A tutorial on support vector machines for pattern recognition. Data Mining
     and Knowledge Discovery, 2(2):121–167, 1998.
 [2] V. Jacquet, V. Jeanne, and D. Unay. Automatic detection of body parts in x-ray images. In
     Mathematical Methods in Biomedical Image Analysis, 2009. MMBIA 2009. IEEE Computer
     Society Workshop on, 2009.
 [3] L. R. Long, S. R. Pillemer, R. C. Lawrence, G.-H. Goh, L. Neve, and G. R. Thoma. WebMIRS:
     web-based medical information retrieval system. In I. K. Sethi and R. C. Jain, editors, Society


                    Run                    Type    CPU Time    Memory Usage
                    VPA-SABANCI-1          D          T            M
                    VPA-SABANCI-2          H-1       4T            M
                    VPA-SABANCI-3          H-2       kT            M

Table 4: Computational expense of significant VPA-SABANCI runs for testing on a PC with
2.40GHz processor and 6GB RAM. T = 1.83min, M = 140MB, and k = #classes     m with m being
the split parameter defined in Section 2.2.2. Typically, k > 4 in our case.
    of Photo-Optical Instrumentation Engineers (SPIE) Conference Series, volume 3312, pages
    392–403, December 1997.
 [4] A. Mueen, M. Sapian Baba, and R. Zainuddin. Multilevel feature extraction and x-ray image
     classification. J. Applied Sciences, 7(8):1224–1229, 2007.

 [5] H. Müller, T. Deselaers, T. Deserno, P. Clough, E. Kim, and W. Hersh. Overview of the im-
     ageclefmed 2006 medical retrieval and medical annotation tasks. In Evaluation of Multilingual
     and Multi-modal Information Retrieval, pages 595–608. 2007.
 [6] T. Ojala, M. Pietikainen, and T. Maenpaa. Multiresolution gray-scale and rotation invariant
     texture classification with local binary patterns. Pattern Analysis and Machine Intelligence,
     IEEE Transactions on, 24(7):971–987, 2002.
 [7] Md. M. Rahman, B. C. Desai, and P. Bhattacharya. Medical image retrieval with probabilistic
     multi-class support vector machine classifiers and adaptive similarity fusion. Computerized
     Medical Imaging and Graphics, 32(2):95 – 108, 2008.
 [8] C.-R. Shyu, C. E. Brodley, A. C. Kak, A. Kosaka, A. M. Aisen, and L. S. Broderick. Assert: a
     physician-in-the-loop content-based retrieval system for hrct image databases. Comput. Vis.
     Image Underst., 75(1-2):111–132, 1999.
 [9] T. Tommasi, B. Caputo, P. Welter, and T. M. Deserno. Overview of the CLEF 2009 medical
     image annotation track, CLEF working notes 2009. Corfu, Greece, 2009.
[10] D. Unay, O. Soldea, A. Ekin, M. Cetin, and A. Ercil. Automatic Annotation of X-ray Images:
     A Study on Attribute Selection. In Medical Content-based Retrieval for Clinical Decision
     Support (MCBR-CDS) Workshop in conjunction with MICCAI’09, 2009.