I want to add some code to imglib2-algorithm for fitting (hyper-)ellipsoid to point clouds. I currently have this in a private project, but I think it would be generally useful.
There are some potential licensing issues:
I adapted some code from BoneJ (GPL) which is in turn adopted from a matlab script that is under BSD.
@mdoube, would you be ok with me adding this https://gist.github.com/tpietzsch/a7323b5abee7973251a99eaba0afd3d5 to imglib2-algorithm under the BSD license? If it’s not ok, then I would go and re-implement it from scratch solely based on the matlab script.
I adapted some C++ code for computing the distance from a point to an ellipsoid, which is under the Boost license. As far as I can see, this is compatible to BSD. Do you think it is ok, if I just refer to the original C++ code and Boost License in the javadoc (which would look like this https://gist.github.com/tpietzsch/5889189fac9e3904d429d4c651c302ba)? Maybe add the Boost License text file to the respective package, or the complete Boost license to the class javadoc? Maybe someone who has more insights into licensing than me could comment? @ctrueden maybe?