|
Whenever I run the following code I get an error that no windows are open. I know that i could rewrite as: IJ.open("path"+(i)+".jpg"); however i am trying t save the runtime from opening the windows for 900 images.
Thanks,
Kyle
for(int i=0; i<900; i++){
ImagePlus image1 =IJ.openImage("path"+(i)+".jpg");
ij.setThreshold(threshold, 255,"Black & White");
}
|