From 101ca0d68db0a7785861969a92a146fff9cb9324 Mon Sep 17 00:00:00 2001 From: Filip Leonarski Date: Sat, 4 Oct 2025 21:22:08 +0200 Subject: [PATCH] ImageAnalysisCPU: Use transformed 32-bit image, as input for spot finder --- image_analysis/ImageAnalysisCPU.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()),