Incorrect error message from makeSubstack

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Incorrect error message from makeSubstack

Fred Damen

See example below.  makeSubstack reports that 1 is invalid when it is actually
0.  SubHyperstackMaker.makeSubhyperstack gives the correct error message.


import ij.*;
import ij.process.*;
import ij.gui.*;
import java.awt.*;
import ij.plugin.*;
import ij.plugin.frame.*;

public class TestmakeSubstack implements PlugIn {

  public void run(String arg) {
    ImagePlus imp = IJ.createHyperStack("title",128,128,2,1,1,32);
    ImagePlus imp2 = (new SubstackMaker()).makeSubstack(imp,"0,1");


ImageJ mailing list: