The SpatialTransform.points() method can be used instead of SpatialTransform.forward() when the input point coordinates are not normalized with respect to the SpatialTransform.grid() and SpatialTransform.axes(), or when the output point coordinates should be mapped to a different domain as part of applying this function. This is mainly a convenience function, but should also make applying spatial transformations to unnormalized points (e.g., w.r.t. to the world coordinate system) more clear.
In addition, the PointSetTransformer module calls the SpatialTransform.points() function to transform a given input. The arguments of the SpatialTransform.points() method are hereby set during transformer module initialization.
The
SpatialTransform.points()
method can be used instead ofSpatialTransform.forward()
when the input point coordinates are not normalized with respect to theSpatialTransform.grid()
andSpatialTransform.axes()
, or when the output point coordinates should be mapped to a different domain as part of applying this function. This is mainly a convenience function, but should also make applying spatial transformations to unnormalized points (e.g., w.r.t. to the world coordinate system) more clear.In addition, the
PointSetTransformer
module calls theSpatialTransform.points()
function to transform a given input. The arguments of theSpatialTransform.points()
method are hereby set during transformer module initialization.Closes #53.