diff --git a/java/src/main/java/org/micromanager/lightsheet/StackResampler.java b/java/src/main/java/org/micromanager/lightsheet/StackResampler.java index 40a1e6cc..18298974 100644 --- a/java/src/main/java/org/micromanager/lightsheet/StackResampler.java +++ b/java/src/main/java/org/micromanager/lightsheet/StackResampler.java @@ -345,6 +345,8 @@ private void precomputeReconWeightings() { * projection and recon arrays. */ public void initializeProjections() { + // Not quite sure why, but this is needed to be able to re-utilize this Resampler. + imageQueue_.clear(); int reconImageZShape = this.reconImageShape_[0]; int reconImageYShape = this.reconImageShape_[1]; int reconImageXShape = this.reconImageShape_[2];