<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi,<div><br></div><div>I was hoping for a little test program so that I could fix the filter to directly work on Image of Vectors. By having you write the basic test not only does it ensure the behavior you desire is there, it also saves me time :)</div><div><br></div><div>Brad</div><div><br><div><div>On Jan 24, 2013, at 5:19 AM, Rômulo Pinho &lt;<a 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, 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ômulo<br>
        <br>
      </font></font>
    <div class="moz-cite-prefix">On 01/23/2013 10:32 PM, Rômulo Pinho
      wrote:<br>
    </div>
    <blockquote cite="mid:510056FC.8060604@lyon.unicancer.fr" type="cite">
      
      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ô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">
        
        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ô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">
              
              <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ômulo<br>
                  </font></font>
                <pre class="moz-signature" cols="72">-- 
Rômulo PINHO
Post-doc Assistant Researcher
Centre Léon Bé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>
  </div>

_____________________________________<br>Powered by <a href="http://www.kitware.com">www.kitware.com</a><br><br>Visit other Kitware open-source projects at<br><a 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 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>http://www.itk.org/Wiki/ITK_FAQ<br><br>Follow this link to subscribe/unsubscribe:<br>http://www.itk.org/mailman/listinfo/insight-users<br></blockquote></div><br></div></body></html>