Hi John,
Thanks for your kind words. For 4D work, Tony recently made some
extra tools which let you use a single command file to register all
phases. Either he or I will post again after we can update the
documentation.
> I have some questions in terms of understanding the outputs - perhaps
> someone here could help?
>
> (i) My understanding that is that in ITK, the deformation vector
> fields point from the fixed image to the moving image. Is this the
> same for the Plastimatch implementation as well?
Absolutely the same. You should be able to write a vector field
from plastimatch and load in ITK. Displacements are in mm from
fixed to moving, defined on fixed grid.
> (ii) Part of my work requires calculation of the vf Jacobians at every
> point in the image. What I'd really like is to have a volume of the
> input image dimensions, but containing the Jacobian at every point.
> Was there a tool for doing this in Plastimatch? I have been attempting
> to do this using the DeformationFieldJacobian example in ITK 3.2, but
> it is possible to use different filters (itkDisplacementFieldJacobian
> and itkDeformationFieldJacobian) and I'm not sure which approach is
> best.
I wish we had this, but we don't. Instead we only print out a
summary ("plastimatch stats vf.mha") which has min and max values.
If you are willing to modify the source code, you could modify
vf_analyze_jacobian() in base/vf_stats.cxx to save these to a file.
But for permanent solution, we should add this feature to plastimatch.
> (iii) With regards to questions (i) and (ii), are the vector fields
> defined in the same way for both B-spline and Demons transformations?
> Or do I have to apply different procedures to obtain the Jacobian
> determinant for these two cases?
For B-spline, I suggest to convert to vector field
("plastimatch xf-convert"), then compute jacobian. We don't have
a method to compute Jacobian directly from B-spline coefficients.
-Greg