<html>
<head>
<style>
P
{
margin:0px;
padding:0px
}
body
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body><div style="text-align: left;">Luis,<br><br>VectorResampleImageFilter does not accept itk::Image&lt; std::complex&lt;float&gt;,&nbsp; Dimension &gt;,<br>it seems pixel type must be a FixedArray. How is it possible to use std::complex&lt;float&gt; instead of<br>itk::FixedArray&lt;float, 2&gt; ?<br></div><br><br><br><br><hr id="stopSpelling"><br>&gt; <br>&gt; <br>&gt; Hi Ali,<br>&gt; <br>&gt; The VectorResampleImageFilter<br>&gt; http://www.itk.org/Insight/Doxygen/html/classitk_1_1VectorResampleImageFilter.html<br>&gt; <br>&gt; should work on images of complex pixel type.<br>&gt; <br>&gt; <br>&gt;    Regards,<br>&gt; <br>&gt; <br>&gt;       Luis<br>&gt; <br>&gt; <br>&gt; ------------------<br>&gt; Ali - wrote:<br>&gt; &gt; Hi,<br>&gt; &gt; <br>&gt; &gt; Is there any filters supposring resampling images with complex values?<br>&gt; &gt; Obviously, itkResampleImageFilter is not designed to support complex values.<br>&gt; &gt; <br>&gt; &gt; One way of doing this could be by decomposing the complex image to its<br>&gt; &gt; real and imaginary components, resampling each component and put them<br>&gt; &gt; back to the complex image.<br>&gt; &gt; <br>&gt; &gt; It is possible to decompose the complex image by itkComplexToRealImageFilter<br>&gt; &gt; and itkComplexToRealImageFilter. However, it does not seem to be any other<br>&gt; &gt; filters for putting the real and imaginary parts back to a complex <br>&gt; &gt; image, or is there<br>&gt; &gt; such a filter?<br>&gt; &gt; <br>&gt; <br>&gt; &gt; _______________________________________________<br>&gt; &gt; Insight-users mailing list<br>&gt; &gt; Insight-users@itk.org<br>&gt; &gt; http://www.itk.org/mailman/listinfo/insight-users<br><br /><hr />Be one of the first to try  <a href='http://ideas.live.com/programpage.aspx?versionId=5d21c51a-b161-4314-9b0e-4911fb2b2e6d' target='_new'>Windows Live Mail.</a></body>
</html>