Skip to content

Commit

Permalink
Merge pull request micro-manager#680 from micro-manager/ResamplerFix
Browse files Browse the repository at this point in the history
StackResampler: clear queue when initializing projections.
  • Loading branch information
Nico Stuurman authored Sep 5, 2023
2 parents 5e7eb9f + 2acb43b commit 503b01c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 503b01c

Please sign in to comment.