我想用斐济的 SE MTF Nyquist 插件编写一个宏,用于目录中的堆栈或许多图像。但是我必须在设置窗口中为每个图像设置一些参数。有任何想法吗?
macro "TD2"{
inputFolder = getDirectory('');
outputFolder = gerDirectory('');
setBatchMode(true);
images = getFileList(inputFolder);
for ( i=0; i <images.length;i++){
inputPath = inputFolder + images[i];
open(inputPath);
makeRectangle(1632, 568, 684, 296);
run("SE MTF Nyquist");
outputPath = outputFolder + images[i];
save(outputPath);
close();
}
}
setBatchMode(false);
exit();