I need a UI solution where the user can draw (linked) points and line ROIs into (two) 3-D data sets. The application will be to feed those coordinates into elastix to compute a 3D registration (I just found out that they also support point list based registrations). I guess the best would be to do this in the BigDataViewer because one can draw lines in arbitrary 3D orientation?!
Could someone provide me with some example java code of how to draw points and line ROIs into the BDV and read the coordinates?