Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是 ImageJ 和 ImageJ 宏的新手。我开始制作一个在图像上应用“查找最大值”功能的宏。然后我想测试每个被发现为最大值的像素,以按值过滤它们。如何将选择的所有点循环到我的宏中?谢谢
最后我找到了答案:
threshold = 254; getSelectionCoordinates(x, y); for (i=0; i<x.length; i++){ if(getPixel(x[i], y[i]) < threshold){ setKeyDown("alt"); makePoint(x[i], y[i]); }