BigSticher : issues creating dataset & which strategy for prealigned tiles

Hi !
I would like to concatenate tiles that have been prealigned with SIFT algorithm, so I wondered if making an alignment on overlapping regions was really necessary. The coordinates of the tiles (tiff format) are known, as they have been generated on QuPath on prealigned whole slide images before being processed on imageJ. Now I would like to open the full processed image on QuPath but I failed to recontruct the mosaic with big Stitcher.
I tried Plugins > Big Stitcher > Big Sticher > Define a new dataset (automatic loader) > then default parameters in the dialog box as shown in the Neubias demo (@hoerldavid ?) but I really do not understand the error message I get (I’m not sure it’s a memory problem as I tried on a few tiles as well). I also checked the versions as in the post gui exception
The headless mode doesn’t work either. Is it due to the properties of the files ?

[ERROR] Module threw error
java.lang.NoClassDefFoundError: bdv/util/BehaviourTransformEventHandlerPlanar$BehaviourTransformEventHandlerPlanarFactory
	at net.preibisch.stitcher.gui.popup.BDVPopupStitching.createBDV(
	at net.preibisch.stitcher.gui.StitchingExplorerPanel.<init>(
	at net.preibisch.stitcher.gui.StitchingExplorer.<init>(
	at org.scijava.thread.DefaultThreadService.lambda$wrap$2(
	at java.util.concurrent.ThreadPoolExecutor.runWorker(
	at java.util.concurrent.ThreadPoolExecutor$
Caused by: java.lang.ClassNotFoundException: bdv.util.BehaviourTransformEventHandlerPlanar$BehaviourTransformEventHandlerPlanarFactory
	at java.lang.ClassLoader.loadClass(
	at sun.misc.Launcher$AppClassLoader.loadClass(
	at java.lang.ClassLoader.loadClass(
	... 13 more

and in the console when running headless mode :

Error while executing the main() method of class 'net.imagej.Main':
java.lang.IllegalArgumentException: Invalid service:
	at org.scijava.service.ServiceHelper.createExactService(
etc (quite long) 

Thank you in advance for your help ! I can provide further information if necessary

Hi @Egl!

It’s because BigStitcher and BigDataViewer-Playground are not compatible for the moment… BigDataViewer-Playground is using dependencies which do not have yet make their way into ImageJ.

Just remove the BigDataViewer Playground update site, and restart Fiji, this should fix BigStitcher.




It works, thank you ! However, I still get error messages referring to BDV in the headless mode, I don’t know why …

Is it still the same error message ?

Invalid service:

Because this service is only in BigDataViewer-Playground. So you should at least have a different error ? Do you have a different one ? If not, can you check with a ‘fresh Fiji’ ?

Sorry for delayed answer ! It seems to work when removing the jar files related to BDV from the plugin folder, thanks a lot !

Hi, the BigStitcher update site now contains BDV-10, so this should be working as well.