diff --git a/image_analysis/ImageAnalysisCPU.cpp b/image_analysis/ImageAnalysisCPU.cpp index dfe5277c..bc36d0e4 100644 --- a/image_analysis/ImageAnalysisCPU.cpp +++ b/image_analysis/ImageAnalysisCPU.cpp @@ -159,7 +159,7 @@ void ImageAnalysisCPU::Analyze(DataMessage &output, || mask_low_res != settings.low_resolution_limit) UpdateMaskResolution(settings); - const std::vector spots = spotFinder->Run(image, settings, mask_resolution); + const std::vector spots = spotFinder->Run(updated_image.data(), settings, mask_resolution); SpotAnalyze(experiment, settings, spots, CompressedImage(updated_image, experiment.GetXPixelsNum(), experiment.GetYPixelsNum()),