<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <title></title>
  </head>
  <body text="#000000" bgcolor="#ffffff">
    Hello,<br>
    <br>
    We have such a filter in OTB.<br>
    You might want to check :<br>
<a class="moz-txt-link-freetext" href="http://hg.orfeo-toolbox.org/OTB/file/94265b241df9/Code/BasicFilters/otbPerBandVectorImageFilter.h">http://hg.orfeo-toolbox.org/OTB/file/94265b241df9/Code/BasicFilters/otbPerBandVectorImageFilter.h</a><br>
<a class="moz-txt-link-freetext" href="http://hg.orfeo-toolbox.org/OTB/file/94265b241df9/Code/BasicFilters/otbPerBandVectorImageFilter.txx">http://hg.orfeo-toolbox.org/OTB/file/94265b241df9/Code/BasicFilters/otbPerBandVectorImageFilter.txx</a><br>
    <br>
    Julien<br>
    <br>
    Le 27/04/2011 07:57, Ga&euml;tan Lehmann a &eacute;crit&nbsp;:
    <blockquote
      cite="mid:854EAFEA-8A0C-45DD-BF46-64257F273377@jouy.inra.fr"
      type="cite">
      <br>
      Le 27 avr. 11 &agrave; 03:07, David Doria a &eacute;crit :
      <br>
      <br>
      <blockquote type="cite">Lately I've needed to run some filters on
        a VectorImage. The filters only work on single channel inputs.
        To get around this, my process to filter each channel separately
        has been:
        <br>
        <br>
        1) Use VectorIndexSelectionCastImageFilter to decompose the
        image into its separate channels
        <br>
        2) In a loop, run a filter on each channel
        <br>
        3) Use ImageToVectorImageFilter to assemble the output from the
        output of the filter on each channel.
        <br>
        <br>
        Is this a reasonable process?
        <br>
      </blockquote>
      <br>
      It is.
      <br>
      <br>
      <blockquote type="cite">Is a more automated way to do this?
        <br>
        <br>
      </blockquote>
      <br>
      Not at this time.
      <br>
      It's in my plan for a quite long time to make a
      ChannelByChannelImageFilter similar to the
      SliceBySliceImageFilter, but it is not done yet.
      <br>
      <br>
      Ga&euml;tan
      <br>
      <br>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_____________________________________
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>

Visit other Kitware open-source projects at
<a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>

Kitware offers ITK Training Courses, for more information visit:
<a class="moz-txt-link-freetext" href="http://www.kitware.com/products/protraining.html">http://www.kitware.com/products/protraining.html</a>

Please keep messages on-topic and check the ITK FAQ at:
<a class="moz-txt-link-freetext" href="http://www.itk.org/Wiki/ITK_FAQ">http://www.itk.org/Wiki/ITK_FAQ</a>

Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a>
</pre>
    </blockquote>
  </body>
</html>