anj1 / ThinPlateSplines.jl

Thin-plate splines in Julia
MIT License
5 stars 4 forks source link

Fix tps_deform for nD (test for 3D and 4D) #8

Closed mkitti closed 11 months ago

mkitti commented 11 months ago

Fix tps_deform for n-dimensions based on size(tps, 2)

tps_deform was incorrectly changed to use the dimensionality of the array as the dimensionality of the system.

Rather the the input array must always be a matrix. The size of the second dimension defines the dimensionality of the system.

Fix #7

anj1 commented 11 months ago

Merged, thanks for adding tests!

RainerHeintzmann commented 11 months ago

Thanks Mark!