[prev in list] [next in list] [prev in thread] [next in thread] 

List:       insight-users
Subject:    Re: [ITK-users] ThinPlateSplineKernelTransform and landmark with coordinate in pixel
From:       asertyuio via Insight-users <insight-users () itk ! org>
Date:       2017-03-28 11:48:56
Message-ID: a080b28e-b466-05a2-904e-66917ef0379f () yahoo ! fr
[Download RAW message or body]

I found the cause of the wrong warping results. It is not exactly clear
for me why I have to do that, but I had to invert the target and the
source landmark.

So what is working is to use as source landmark the landmarks in the
fixed image, and as target landmark, the landmark of the moving image.

I may have a misunderstanding of the meaning of "source" and "target".

Sorry for the noise !

Yann


Le 28/03/2017 =E0 12:37, asertyuio a =E9crit :
> Hi all,
>
> I'm using the ThinPlateSplineKernelTransform (the code is mostly from
> the example RegistrationITKv4/ThinPlateSplineWarp.cxx) to warp an image
> onto another, with one set of corresponding landmarks for each image.
> I'm using landmarks from another program, which position are in pixel
> coordinate.
>
> I haven't managed to get correct warping results. I suspected that this
> due to the default spacing/origin set by tiff image reader, i.e. the
> difference of coordinate system between landmark and image. I reset the
> image spacing to 1 and image origin to 1, also try to reverse the Y
> direction, but nothing succeed.
>
> Is there any easy way of transforming pixel based coordinate into image
> coordinate ?
>
> Any help will be much appreciated for your help !
>
> Yann
>
>

_____________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php

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://public.kitware.com/mailman/listinfo/insight-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic