Export Spline Equation


Following a Fit Spline on a polygon section, I am looking for a way to export the equation of that spline to a file (like a text file) from ImageJ.

I have looked everywhere, but cannot find a solution.



I couldn’t find a way to do exactly what you want… but after fitting a spline, you can run Edit > Selection > Properties... and check the List coordinates box. This will give you a table with all the points in your spline in a table that can be saved.

Yeah I thought that would be the only solution. But I’m very suprised that it’s not possible to get the equation. After all it has to exist somewhere in the program in order to fit the spline… Thank you anyways !

Maybe looking at the source code helps to see how it is done:

1 Like