[Insight-users] How to write a new deformationfiled file?

Charles Wang cywang926 at gmail.com
Tue Mar 31 07:03:52 EDT 2009


Hi shengzhouxu,
  You may try to use the code by Marius Staring.
Generating a Deformation Field from an itk::Transform from Insight journal
  http://www.insight-journal.org/browse/publication/240
Best regards,
   Charles Wang

2009/3/31 shengzhouxu <shengzhouxu at gmail.com>
>
>
> Hi All,
>
>
>   I  want to warp an image by an artifical deformation field, but i don't know how to write the deformationfield file, the deformation function of which is given as:
>
> x' = x + sin(x);
>
> y' = y + sin(y);
>
> where x,y are the point coordinate values in original image and x', y' are the point coordinate values in the deforme image.Just like the example VectorImageReadWrite in ITK, it shows how to write a VectorImage, but the input of the filter comes from the output of the Reader. And, in my case, there is not exist any file can be read. Any idea?
>
>  Thanks every much!
>
> 2009-03-31
> ________________________________
> shengzhouxu
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ITK FAQ at: http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>


More information about the Insight-users mailing list