I made a test, but I didn't put it in the source because of the requisite test data. The test data can be created using the code found in issue https://github.com/imagej/ImageJ/issues/242
Here is the test.
public class FolderOpenerTest {
@Test
public void compareVirtualToNormalStackSize(){
ImagePlus one = FolderOpener.open("./volumes");
ImagePlus two = FolderOpener.open("./volumes", "virtual");
Assert.assertEquals(one.getStack().getSize(), two.getStack().getSize());
}
}
I have two collaborators who have sent me image stacks that break from this bug. One of the collaborators sent data from multiple sources.
I made a test, but I didn't put it in the source because of the requisite test data. The test data can be created using the code found in issue https://github.com/imagej/ImageJ/issues/242
Here is the test.
I have two collaborators who have sent me image stacks that break from this bug. One of the collaborators sent data from multiple sources.