Hi Preibisch Lab, BigStitcher has been an incredible tool, and really made my project possible. Since the recent round of heavy Fiji updates, I'm no longer able to do image fusion with content based fusion selected. The error occurs regardless of options selected in the "Image Fusion" dialog, just as long as content based is enabled.
Thank you for all your hard work on such an amazing plugin!!
Console output:
Aug 08, 2020 9:25:54 AM java.util.prefs.FileSystemPreferences$6 run
WARNING: Prefs file removed in background /home/martin/.java/.userPrefs/sc/fiji/cellCounter/CellCounterOptions/prefs.xml
getDescription()
tpId=0 setupId=0
Calibration (transformed): (0.24088361014139506, 0.23931724344167352, 0.23959768516222754) µm
tpId=0 setupId=1
Calibration (transformed): (0.24308893549740485, 0.23882830926775375, 0.23575392724802144) µm
tpId=0 setupId=2
Calibration (transformed): (0.2366316962216771, 0.2395171909382473, 0.23727870982237825) µm
(1.0530405, 1.0599328, 8.347326)
testing scale: 3d-affine: (1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0)
(1.0530405, 1.0599328, 8.347326) valid: true bestScaling: 1.0
testing scale: 3d-affine: (2.0, 0.0, 0.0, 0.0, 0.0, 2.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0)
(2.106081, 2.1198657, 8.347326) valid: false bestScaling: 1.0
testing scale: 3d-affine: (4.0, 0.0, 0.0, 0.0, 0.0, 4.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0)
(4.212162, 4.2397313, 8.347326) valid: false bestScaling: 1.0
testing scale: 3d-affine: (8.0, 0.0, 0.0, 0.0, 0.0, 8.0, 0.0, 0.0, 0.0, 0.0, 2.0, 0.0)
(8.424324, 8.479463, 16.694653) valid: false bestScaling: 1.0
Choosing resolution level: 1.0 x 1.0 x 1.0
View tpId=0 setupId=0 is currently scaled by: (1.0529, 1.0598, 8.3455)
Exception in thread "Thread-13" java.lang.NullPointerException
at net.imglib2.algorithm.fft2.FFTMethods.realToComplex(FFTMethods.java:689)
at net.imglib2.algorithm.fft2.FFTMethods.realToComplex(FFTMethods.java:546)
at net.imglib2.algorithm.fft2.FFT.realToComplex(FFT.java:245)
at net.imglib2.algorithm.fft2.FFT.realToComplex(FFT.java:123)
at net.imglib2.algorithm.fft2.FFT.realToComplex(FFT.java:335)
at net.imglib2.algorithm.fft2.FFT.realToComplex(FFT.java:74)
at net.imglib2.algorithm.fft2.FFTConvolution.computeImgFFT(FFTConvolution.java:582)
at net.imglib2.algorithm.fft2.FFTConvolution.convolve(FFTConvolution.java:524)
at net.imglib2.algorithm.fft2.FFTConvolution.convolve(FFTConvolution.java:502)
at net.preibisch.mvrecon.process.fusion.transformed.weights.ContentBasedRealRandomAccessible.approximateEntropy(ContentBasedRealRandomAccessible.java:97)
at net.preibisch.mvrecon.process.fusion.transformed.weights.ContentBasedRealRandomAccessible.<init>(ContentBasedRealRandomAccessible.java:73)
at net.preibisch.mvrecon.process.fusion.transformed.TransformWeight.transformContentBased(TransformWeight.java:62)
at net.preibisch.mvrecon.process.fusion.FusionTools.fuseVirtual(FusionTools.java:443)
at net.preibisch.mvrecon.process.fusion.FusionTools.fuseVirtual(FusionTools.java:287)
at net.preibisch.mvrecon.fiji.plugin.Image_Fusion.fuse(Image_Fusion.java:190)
at net.preibisch.mvrecon.fiji.spimdata.explorer.popup.FusionPopup$MyActionListener$1.run(FusionPopup.java:82)
at java.lang.Thread.run(Thread.java:748)`
...at which point no further processing or log messages are posted.
Update - the problem is resolved by downgrading imglib2-algorithm-gpl-0.2.4.jar to imglib2-algorithm-gpl-0.2.3.jar. Looking for file diffs in the source archives, it appears that /net/imglib2/algorithm/fft2/FFTConvolution.java has some notable chages between the versions:
lines 39-40 of version 0.2.3 are missing in 0.2.4...
I can't say that adding back those import lines will fix the problem because I don't have the ability to build these class libraries and test the code, but it is suspicious the problem may be with imglib2 and not with BigStitcher. Other changes in 0.2.4 concern the use of ExecutorService, which is probably unrelated.
Hi Preibisch Lab, BigStitcher has been an incredible tool, and really made my project possible. Since the recent round of heavy Fiji updates, I'm no longer able to do image fusion with content based fusion selected. The error occurs regardless of options selected in the "Image Fusion" dialog, just as long as content based is enabled.
Thank you for all your hard work on such an amazing plugin!!
Console output:
ImageJ log:
...at which point no further processing or log messages are posted.
Update - the problem is resolved by downgrading imglib2-algorithm-gpl-0.2.4.jar to imglib2-algorithm-gpl-0.2.3.jar. Looking for file diffs in the source archives, it appears that /net/imglib2/algorithm/fft2/FFTConvolution.java has some notable chages between the versions:
lines 39-40 of version 0.2.3 are missing in 0.2.4...
I can't say that adding back those import lines will fix the problem because I don't have the ability to build these class libraries and test the code, but it is suspicious the problem may be with imglib2 and not with BigStitcher. Other changes in 0.2.4 concern the use of ExecutorService, which is probably unrelated.