users > Can streamxform invert a deformation field?
Dec 12, 2018  01:12 PM | Greg Jefferis
Can streamxform invert a deformation field?
Dear Torsten,

Can streamxform invert a deformation field? I have the impression that it cannot. In fact, here is the confirmation from cmtkDeformationField.h.


virtual bool ApplyInverse ( const Self::SpaceVectorType&, Self::SpaceVectorType&, const Types::Coordinate = 0.01 ) const
{
// not implemented
return false;
}

Following on, is an implementation of ApplyInverse for deformation fields actually feasible/sensible?

On a related note. Would it be worth throwing a slightly more dramatic error than just failing to transform the point given the current code situation? Requesting a deformation field inverse will never work right now.

Best,

Greg.

Threaded View

TitleAuthorDate
Can streamxform invert a deformation field?
Greg Jefferis Dec 12, 2018
Torsten Rohlfing Dec 15, 2018