简体   繁体   English

如何使用指定的坐标在斐济(imagej)中进行线选择

[英]How to do a line selection in fiji (imagej) using specified coords

How to select a line in an image using ImageJ/Fiji by setting its start and end points? 如何通过设置ImageJ / Fiji的起点和终点来选择图像中的线条? As in not drawing it over the image, but inputting the coordinates directly somewhere. 就像不将其绘制在图像上,而是将坐标直接输入到某处一样。

open script editor, select IJ1 macro and then type the code below and then run. 打开脚本编辑器,选择IJ1宏,然后在下面键入代码,然后运行。

makeLine(1, 1, 100, 100);

This will create a line ROI between (1,1) and (100, 100). 这将在(1,1)与(100,100)之间创建线ROI。

See https://imagej.nih.gov/ij/developer/macro/functions.html#makeLine 参见https://imagej.nih.gov/ij/developer/macro/functions.html#makeLine

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM