How to select a line in an image using ImageJ/Fiji by setting its start and end points? As in not drawing it over the image, but inputting the coordinates directly somewhere.
Asked
Active
Viewed 955 times
0
-
This is easily the silliest sounding question i've ever asked on SO. – Mali Remorker Nov 17 '17 at 17:28
-
But very useful – Martin Beckett Mar 20 '19 at 17:45
1 Answers
2
open script editor, select IJ1 macro and then type the code below and then run.
makeLine(1, 1, 100, 100);
This will create a line ROI between (1,1) and (100, 100).
See https://imagej.nih.gov/ij/developer/macro/functions.html#makeLine

Kota
- 191
- 3