Hi,<div><br></div><div>I have a 4D image with 3 channels and I want to add a constant value to it. So I tried addImageFilter:</div><div><br></div><div><div> const unsigned int VectorDimension = 3;</div><div> const unsigned int ImageDimension = 3;</div>
<div> typedef itk::Vector< float, VectorDimension > PixelType;</div><div> typedef itk::Image< float, ImageDimension > ImageType;</div><div> filter->Update<ImageType>();</div></div>
<div><br></div><div> Everything works fine. But when I deal with the unknown channels image, I have to use VectorImage:</div><div><br></div><div><div> const unsigned int ImageDimension = 3;</div><div> typedef itk::VectorImage<float, ImageDimension> ImageType;</div>
<div> filter->Update<ImageType>();</div></div><div><br></div><div><br></div><div>It complained errors. So is the addImageFilter not support VectorImage yet? What about other intensity image?</div><div><br></div>
<div>Regards,</div><div>Sun Tao</div>