<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <font size="-1"><font face="Arial">Hello, again,<br>
        I've just implemented the idea below and it works. In any case,
        if you have any other ideas, please do share! <br>
        Thanks!<br>
        R&ocirc;mulo<br>
        <br>
      </font></font>
    <div class="moz-cite-prefix">On 01/23/2013 10:32 PM, R&ocirc;mulo Pinho
      wrote:<br>
    </div>
    <blockquote cite="mid:510056FC.8060604@lyon.unicancer.fr"
      type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      Hi, Brad, <br>
      Thanks for the tips... <br>
      <br>
      I don't have a snippet at hand now, but I basically have two
      itk::Image&lt; itk::Vector&lt; type, dim &gt;, dim &gt; which I
      wish to interpolate at a given distance. The problem with
      InterpolateImageFilter is that it expects an interpolator which
      derives from InterpolateImageFunction, whereas all vector
      interpolators derive from VectorInterpolateFunction...<br>
      <br>
      The best I can think of is to extract the components of my vector
      images into scalar images (I think there's an adaptor for that,
      right?), then use the InterpolateImageFilter on each of them, and
      finally reassemble the resulting components into a new vector
      image... It's not very efficient, but will do for the moment... Is
      it what you had in mind?<br>
      <br>
      I guess that, ideally, I'd have to implement my own
      VectorInterpolateImageFilter...<br>
      <br>
      Regards,<br>
      R&ocirc;mulo<br>
      <br>
      <div class="moz-cite-prefix">On 23/01/2013 15:49, Bradley Lowekamp
        wrote:<br>
      </div>
      <blockquote
        cite="mid:2BA503E4-FA25-4699-91C0-59099E8D9D49@mail.nih.gov"
        type="cite">
        <meta http-equiv="Content-Type" content="text/html;
          charset=ISO-8859-1">
        What is your specific image type and interpolator you are trying
        to use?
        <div><br>
        </div>
        <div>Do you have a small code snippet that you are trying to get
          to work with the filter?</div>
        <div><br>
        </div>
        <div>I think that the InterpolateImageFilter should ( not that
          is does ) work with either image type. It likely just needs a
          little tweaking. So you you provide an example program, I
          hopefully can take a look to see if there are some little
          tweaks that are needed can be easily done.</div>
        <div><br>
        </div>
        <div>Brad</div>
        <div><br>
          <div>
            <div>On Jan 23, 2013, at 6:55 AM, R&ocirc;mulo Pinho &lt;<a
                moz-do-not-send="true"
                href="mailto:romulo.pinho@lyon.unicancer.fr">romulo.pinho@lyon.unicancer.fr</a>&gt;

              wrote:</div>
            <br class="Apple-interchange-newline">
            <blockquote type="cite">
              <meta http-equiv="Content-Type" content="text/html;
                charset=ISO-8859-1">
              <div bgcolor="#FFFFFF" text="#000000"> <font size="-1"><font
                    face="Arial">Hello, everyone,<br>
                    <br>
                    Is there an equivalent of
                    itk::InterpolateImageFilter for vector images?<br>
                    <br>
                    Thanks in advance!<br>
                    Regards,<br>
                    <br>
                    R&ocirc;mulo<br>
                  </font></font>
                <pre class="moz-signature" cols="72">-- 
R&ocirc;mulo PINHO
Post-doc Assistant Researcher
Centre L&eacute;on B&eacute;rard 
28, rue Laennec 69373 
Lyon, France 
+33 (0)4 78 78 51 50 
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:romulo.pinho@lyon.unicancer.fr">romulo.pinho@lyon.unicancer.fr</a> 
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.creatis.insa-lyon.fr/rio/RomuloPinho">http://www.creatis.insa-lyon.fr/rio/RomuloPinho</a>
</pre>
              </div>
              _____________________________________<br>
              Powered by <a moz-do-not-send="true"
                href="http://www.kitware.com">www.kitware.com</a><br>
              <br>
              Visit other Kitware open-source projects at<br>
              <a moz-do-not-send="true"
                href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br>
              <br>
              Kitware offers ITK Training Courses, for more information
              visit:<br>
              <a moz-do-not-send="true" class="moz-txt-link-freetext"
                href="http://www.kitware.com/products/protraining.php">http://www.kitware.com/products/protraining.php</a><br>
              <br>
              Please keep messages on-topic and check the ITK FAQ at:<br>
              <a moz-do-not-send="true" class="moz-txt-link-freetext"
                href="http://www.itk.org/Wiki/ITK_FAQ">http://www.itk.org/Wiki/ITK_FAQ</a><br>
              <br>
              Follow this link to subscribe/unsubscribe:<br>
              <a moz-do-not-send="true" class="moz-txt-link-freetext"
                href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a><br>
            </blockquote>
          </div>
          <br>
        </div>
      </blockquote>
      <br>
    </blockquote>
    <br>
  </body>
</html>