<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Since ItkVtkGlue displaying an image is quite easy:<br>
    <br>
    -----------------<br>
    <br>
    #include &lt;itkImageFileReader.h&gt;<br>
    <br>
    #include "QuickView.h"<br>
    <br>
    int main(int argc, char **argv) {<br>
    <br>
    typedef itk::Image&lt; unsigned short, 2&gt; ImageType;<br>
    typedef itk::ImageFileReader&lt;ImageType&gt; ReaderType;<br>
    <br>
    ReaderType::Pointer reader = ReaderType::New();<br>
    reader-&gt;SetFileName(argv[1]);<br>
    &nbsp;reader-&gt;Update();<br>
    <br>
    QuickView viewer;<br>
    &nbsp; viewer.AddImage( reader-&gt;GetOutput());&nbsp; <br>
    &nbsp; viewer.Visualize();<br>
    <br>
    return 0;<br>
    }<br>
    <br>
    <br>
    ------------------------<br>
    <br>
    CMAKE_MINIMUM_REQUIRED(VERSION 2.6)<br>
    <br>
    PROJECT( itkGlue)<br>
    <br>
    FIND_PACKAGE ( ITK&nbsp; REQUIRED)<br>
    INCLUDE(&nbsp; ${USE_ITK_FILE}&nbsp; )<br>
    <br>
    find_package(ItkVtkGlue REQUIRED)<br>
    include(${ItkVtkGlue_USE_FILE})<br>
    <br>
    INCLUDE_DIRECTORIES(${main_SOURCE_DIR})<br>
    <br>
    ADD_EXECUTABLE( itkGlue&nbsp;&nbsp; itkGlue.cxx )<br>
    <br>
    TARGET_LINK_LIBRARIES ( itkGlue ItkVtkGlue ${ITK_LIBRARIES}
    ${VTK_LIBRARIES})<br>
    <br>
    <br>
    Christina Rossmanith<br>
    --<br>
    <span
style="font-size:10pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;"
      lang="EN-GB">Dept. of Neurology</span> <br>
    <span
style="font-size:10pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;"
      lang="EN-GB">University Medical Center Mannheim</span><br>
  </body>
</html>