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? Is a more automated way to do this?<br>
<br clear="all">Thanks,<br><br>David<br>