[Vv] Deformation field error
Vivien Delmon
vivien.delmon at creatis.insa-lyon.fr
Wed Feb 1 09:15:57 CET 2012
On 02/01/2012 06:28 AM, Ryosuke Matsuo wrote:
> Hi all,
>
> I just used vv for a simple image registration.
> Fixed image contains a white circle at the center and moving image
> contains an ellipse.
> I registered the image using ITK (BSplinetransformation) and saved the
> deformation field (.mhd).
> When I tried to load the deformation field in vv (add deformation field
> to current image), it said "Cannot import the vector field for this
> image. Vector field dimension cannot be greater then (than?) reference
> image!"
>
> How should I load the deformation field into the image using vv?
>
> I attached the fixed, moving and deformation field files, just in case.
>
> Thanks in advance,
> Ryo
Hi Ryosuke,
The problem comes from the deformation field which is in 3D where your
images are in 2D.
If you want to open it anyway you can just modify the mhd file which is
just a text file describing the data. I attached my modified deform3.mhd.
vv fixed3.png --overlay moving3.png --vf deform3.mhd
After modification vv can open it on my computer.
Kind regards,
--
Vivien Delmon
PhD student at CREATIS, Lyon
Supported by ANRT and ELEKTA
http://www.creatis.insa-lyon.fr/rio
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: deform3.mhd
URL: <http://www.creatis.insa-lyon.fr/pipermail/vv/attachments/20120201/540cb353/attachment.ksh>
More information about the vv
mailing list