【发布时间】:2015-05-03 15:12:16
【问题描述】:
我正在尝试更改 ImageJ 的现有插件 OpenComet。我不喜欢 Java,所以也许这很容易。
我想要实现的是以下几点
run("Bio-Formats Windowless Importer", "open=path autoscale color_mode=Default view=Hyperstack stack_order=XYCZT");
在 Bioformat Importer 插件的帮助下打开我的文件run("Flip Horizontally");
这应该放在下面的代码中:
// Iterate over each input file
for(int i=0;i<inFiles.length;i++){
// Try to open file as image
//NUMBER 1 BIOFORMAT IMPORT AT THIS POINT
ImagePlus imp = IJ.openImage(inFiles[i].getPath());
// If image could be opened, run comet analysis
if(imp!=null){
//NUMBER 2 FLIPPING AT THIS POINT
String imageKey = inFiles[i].getName();
此外,我需要导入 BioFormat Importer 的类或类似的东西。我不会吗?
非常感谢。
【问题讨论】: