<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Software Based Matching of X-ray Images and 3D Models of Knee Prostheses</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>J. Bredow</string-name>
          <email>jan.bredow@uk-koeln.de</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>P. Dorda</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>R. Westphal</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>K. Sircar</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>K. Schlüter-Brust</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>P. Eysel</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>F.M. Wahl</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>TU Braunschweig, Institut für Robotik und Prozessinformatik</institution>
          ,
          <country country="DE">Germany</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Uniklinik Köln, Klinik und Poliklinik für Orthopädie und Unfallchirurgie</institution>
          ,
          <country country="DE">Germany</country>
        </aff>
      </contrib-group>
      <fpage>26</fpage>
      <lpage>29</lpage>
      <abstract>
        <p>Revision joint replacements are challenging surgical tasks. The key factor for preoperative planning is to know the exact type of primary prosthesis to avoid long preoperative organisation, long operation times, and especially loss of bone and soft-tissue during operation. In daily routine there is often no information about the primary prosthesis. We are developing methods for identifying implanted prostheses from x-ray images by means of matching template images generated from prosthesis CAD data. At the current stage of the project with only one prosthesis model we can already show promising matching qualities, so that further research in this area seems to be worthwhile. Improved segmentation algorithms as well as building up a larger prosthesis data base are our next steps. According to an analysis of the German Office for Quality Assurance approximately 33000 revisions of knee and hip arthroplasties were performed in 20081. This corresponds to a burden rate of 10.2%. The number of primary joint replacements as well as the number of revisions in industrial nations like the US and Great Britain has constantly risen in the past decades2,3. Considering the aging of the population, this trend will continue and the number of revision operations will increase even stronger4. Revision joint replacement is an extraordinary challenge for the surgeon in terms of preoperative planning: knowing the exact type of the prosthesis that was implanted during primary replacement is a key factor. Only with this knowledge it is possible to provide suitable instruments, to ensure an acceptable duration of the procedure and to keep the damaging and loss of bone and soft-tissue to a minimum. Ensuring shorter operation times is especially important regarding the fact that a revision of total joint replacement is still associated with a higher rate of complications (such as deep vein thrombosis, bleeding and myocardial infarction amongst others) and costs nearly twice as much as primary arthroplasty4,5,6. The typical patient presenting for a revision joint replacement usually does not know the exact type of prosthesis that was used in primary replacement. Also a sufficient documentation of the primary prosthesis as well as prosthesis IDs are often not available. Therefore the organisation of several different operation instruments or a freestyle approach for prosthesis removal is sometimes necessary. Furthermore, knowing the exact type of prosthesis, when planning a replacement, could facilitate a revision of only the damaged components in some cases. The development of a software application that is able to identify the prosthesis within a set of x-ray images, compare the found prosthesis with a database, and tell the exact type of prosthesis fast and accurately seems to be a promising approach. Figure 1: Flow chart and project structure of the developed application. Template Image Generation</p>
      </abstract>
      <kwd-group>
        <kwd>Revision Joint Replacement - Identification of Implanted Prostheses - X-ray Image Analysis</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Problem</title>
    </sec>
    <sec id="sec-2">
      <title>Methods</title>
      <p>The application is separated into three major components (see Figure 1): The first component “Template Image
Generation” adds 3d models of endoprostheses to a database. The second component “X-ray Image Segmentation” extracts
endoprostheses from provided sets of x-ray images. Finally the third component “Template Matching” finds the best
matching prosthesis types in the data base.
Since it is necessary to compare 3d objects with 2d x-rays, 2d template images of the 3d CAD endoprosthesis models
are generated. These template images represent the 3d models in all possible orientations. Template images are
generated using standard computer graphics image rendering methods with a virtual camera rotating around the centre of the 3d
model in all three rotational degrees of freedom (DoF). Subsequently, thresholding is used to segment the silhouette of
the endoprosthesis model in the projected image.</p>
      <p>In order to reduce the number of template images and also to reduce the amount of time needed to generate those te
mplate images, the images are aligned vertically along the major axis of the segmented prosthesis region utilizing central
image moments. With this image based alignment, one rotational DoF – namely the rotation about the view axis of the
virtual camera – can be renounced. In doing so, the time and memory complexity can be decreased from  ( ³) to
 ( ) with  being the number steps in a complete 360° rotation about one axis.</p>
      <sec id="sec-2-1">
        <title>X-ray Image Segmentation</title>
        <p>Segmenting the endoprosthesis parts from given x-ray images is an important step in the prosthesis identification
procedure. The following algorithm was implemented in order to extract the endoprosthesis part from x-rays given in
DICOM format: First, a median filter is applied in order increase homogeneity in the area of the prosthesis while at the
same time preserving the edges. Next, the Sobel operator is applied to highlight the edges around the prosthesis
components. The third step requires some user interaction. The user has to select a seed point in the interior of the prosthesis
components and also a colour similarity threshold value for a flood-fill algorithm, which follows. The final step is a
Dilation algorithm, which is applied in order to fill small holes in the interior of the prosthesis area. Figure 2 illustrates
the segmentation process and its results.</p>
      </sec>
      <sec id="sec-2-2">
        <title>Template Matching</title>
        <p>As a last step, the template images, which best match the segmented prosthesis silhouette from the provided x-ray
images, is determined. The matching quality for a given combination of segmented silhouette and template image is
computed in the following way: first, the centroids of both images are computed. Next, both images are layered, so that their
centroids and major axes overlap. The matching quality is then determined as the number of pixels shared between
template image and segmented X-ray image.</p>
        <p>Since this method only calculates matching results for one pair of images, another algorithm is required to compare a
set of results, so that a variety of different template images may be considered. The project implementation considers
two cases: In the first case, only one x-ray is given as an input and the matching result is based on only one x-ray
extraction. The second case provides two x-rays (lateral and frontal) as input. Therefore, matching results must be based
on the segmentation results of both x-rays; meaning in particular that computed matching endoprostheses must
guarantee satisfactory results for both images. The algorithm computes the degree of similarity by determining the amount of
shared pixels, and then simply compares the degree of similarities of all pairs of extracted and template images. The
Matching endoprostheses can be derived from the template image with the highest degree of similarity (see Figure 3).</p>
        <p>In order to find candidate template images more quickly Hu moments are used to pre-select templates with similar
characteristics to those of the segmented X-ray images. The Hu moments are computed during the template image
generation process and stored in a database together with the templates. When searching for possible candidate images in the
database only those templates are considered, which have similar Hu moments as the endoprosthesis segmented from
the x-rays. Utilizing Hu moments in this way the matching / identification process can be realized more efficiently as
inappropriate matches (as illustrated in Figure 3) don’t need to be considered.
3</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>Results</title>
      <p>At the current stage of the project, only one prosthesis model (Fa. Corin, Knee Prothesis Uniglide) was available for
evaluating the algorithms presented above.</p>
      <p>To evaluate the template identification process, template images have been generated with different angle step sizes.
Furthermore, template images were generated with and without alignment to their major axis in order to evaluate its
effects on the resulting identification accuracies. It could be shown that a step size of 5° achieves very accurate
identifications with accuracies of about 90% for lateral and over 70% for frontal images. With larger step sizes, the accuracies
degrade, such that step sizes over 20° are no longer applicable. Furthermore it could be shown, that utilizing image ce
ntral moments in order to renounce one rotational DoF, is applicable and achieves comparable accuracies while reducing
memory and computation complexity (see Figure 4).</p>
      <p>28</p>
    </sec>
    <sec id="sec-4">
      <title>Discussion</title>
      <p>The software based matching of X-ray images and 3D models of knee prostheses or prostheses in general can be very
helpful for the surgeon to plan a challenging operation. Therefore it is necessary to achieve a high sensitivity and a high
specificity.</p>
      <p>The segmentation procedure in its current stage, utilizing common segmentation algorithms, does not always lead to
optimal results. Advanced algorithms like Canny edge detection or region growing might improve the segmentation results
and will be evaluated in our future work. Furthermore, problems like possibly overlapping prosthesis components in the
X-ray or indistinct edges due to cemented prosthesis components will be addressed in our future work.
A weak point is the limited amount of currently available data. Due to lacking 3d models, the recent state of the
application considers one type of endoprosthesis only. So until now, no conclusions about the discriminability between
different prosthesis types can be drawn. With the help of original CAD data and data obtained from CT-scans we hope to
further optimize the speed and accuracy of matching of x-ray images and template images derived from 3d models. After
including further 3d models as a next step, an analysis of discrimination can be performed for further evaluation of our
approach.</p>
      <p>Our current results at this stage of development are promising, so we are looking forward to the next steps to support
the surgeon in future efficiently. The goal of a fast and accurate identification of prostheses when planning a revision
operation could ultimately lead to a more cost-effective preparation, less complications due to shorter operation duration
and less bone and soft-tissue damage.
5</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <surname>BQS-Institut</surname>
            <given-names>: BQS Qualitätsreport</given-names>
          </string-name>
          <year>2008</year>
          . (Düsseldorf,
          <year>2008</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <surname>Culliford</surname>
            <given-names>DJ</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Maskell</surname>
            <given-names>J</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Beard</surname>
            <given-names>DJ</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Murray</surname>
            <given-names>DW</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Price</surname>
            <given-names>AJ</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Arden</surname>
            <given-names>NK</given-names>
          </string-name>
          :
          <article-title>Temporal trends in hip and knee replacement in the United Kingdom: 1991 to 2006</article-title>
          .
          <article-title>The Journal of bone and joint surgery</article-title>
          .
          <source>British</source>
          volume
          <volume>92</volume>
          ,
          <fpage>130</fpage>
          -
          <lpage>5</lpage>
          (
          <year>2010</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <surname>Kurtz</surname>
            <given-names>SM</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ong</surname>
            <given-names>KL</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Schmier</surname>
            <given-names>J</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zhao</surname>
            <given-names>K</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mowat</surname>
            <given-names>F</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lau</surname>
            <given-names>E</given-names>
          </string-name>
          :
          <article-title>Primary and revision arthroplasty surgery caseloads in the United States from 1990 to 2004</article-title>
          .
          <source>The Journal of arthroplasty 24</source>
          ,
          <fpage>195</fpage>
          -
          <lpage>203</lpage>
          (
          <year>2009</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <surname>Saleh</surname>
            <given-names>KJ</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rand</surname>
            <given-names>JA</given-names>
          </string-name>
          ,
          <string-name>
            <surname>McQueen</surname>
            <given-names>DA</given-names>
          </string-name>
          :
          <article-title>Current Status of Revision Total Knee Arthroplasty: How Do We Assess Re- sults?</article-title>
          <source>The Journal of Bone and Joint Surgery (American) 85</source>
          ,
          <fpage>S18</fpage>
          -
          <lpage>S20</lpage>
          (
          <year>2003</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <surname>Poultsides</surname>
            <given-names>LA</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gonzalez Della Valle</surname>
            <given-names>A</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Memtsoudis</surname>
            <given-names>SG</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ma</surname>
            <given-names>Y</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Roberts</surname>
            <given-names>T</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sharrock</surname>
            <given-names>N</given-names>
          </string-name>
          :
          <article-title>Meta-analysis of cause of death following total joint replacement using different thromboprophylaxis regimens</article-title>
          .
          <source>The Journal of bone and joint surgery. British</source>
          volume
          <volume>94</volume>
          ,
          <fpage>113</fpage>
          -
          <lpage>21</lpage>
          (
          <year>2012</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <surname>Kurtz</surname>
            <given-names>S</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mowat</surname>
            <given-names>F</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ong</surname>
            <given-names>K</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chan</surname>
            <given-names>N</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lau</surname>
            <given-names>E</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Halpern</surname>
            <given-names>M</given-names>
          </string-name>
          :
          <article-title>Prevalence of primary and revision total hip and knee ar- throplasty in the United States from 1990 through 2002</article-title>
          .
          <article-title>The Journal of bone and joint surgery</article-title>
          .
          <source>American</source>
          volume
          <volume>87</volume>
          ,
          <fpage>1487</fpage>
          -
          <lpage>97</lpage>
          (
          <year>2005</year>
          ).
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>