Hello all,<br><br>I&#39;m using release version 3.2.0 of ITK.<br><br>I have a pipeline which reads in a set of 3 grayscale images then combines them into a single VectorImage using ImageToVectorImageFilter. As a first step in segmenting the image, I want to run it through the VectorGradientMagnitudeImageFilter, which as far as I can tell expects an Image&lt; Vector&lt; PixelType, VectorDimension &gt;, ImageDimension &gt; as it&#39;s first template parameter.
<br><br>When I give the VectorGradientMagnitudeImageFilter my VectorImageType as the first template parameter, it gives the following errors:<br><br>line 171: /usr/local/InsightToolkit-3.2.0/Code/BasicFilters/itkVectorGradientMagnitudeImageFilter.h 'Dimension' is not a member of 'itk::VariableLengthVector&lt;unsigned char&gt;'
<br>line 39: /usr/local/Insline 39ightToolkit-3.2.0/Code/Common/itkFixedArray.h 'Dimension' is not a member of 'itk::VariableLengthVector&lt;unsigned char&gt;'<br><br>I assume these Dimension errors are because a VectorImage uses a VariableLengthArray instead of the fixedarray that it was expecting.
<br><br>Is there a way to make these two filters work with each other? Should I be doing the grayscale images to vector image conversion a different way?<br><br>Cheers,<br>&nbsp;- Dan<br>