v1.0.0-rc.68
This commit is contained in:
@@ -150,16 +150,18 @@ void ImageAnalysisCPU::Analyze(DataMessage &output,
|
||||
if (spot_finding_settings.enable)
|
||||
spots = spotFinder.Run(image, spot_finding_settings);
|
||||
|
||||
CountSpots(output, experiment, spots, spot_finding_settings.cutoff_spot_count_low_res);
|
||||
std::vector<SpotToSave> spots_out;
|
||||
|
||||
std::vector<DiffractionSpot> spots_out;
|
||||
FilterSpotsByCount(max_spot_count, spots, spots_out);
|
||||
auto geom = experiment.GetDiffractionGeometry();
|
||||
for (const auto &spot: spots)
|
||||
spots_out.push_back(spot.Export(geom));
|
||||
|
||||
for (const auto &spot: spots_out)
|
||||
output.spots.push_back(spot);
|
||||
CountSpots(output, spots_out, spot_finding_settings.cutoff_spot_count_low_res);
|
||||
|
||||
FilterSpotsByCount(experiment.GetMaxSpotCount(), spots_out, output.spots);
|
||||
|
||||
if ((indexer != nullptr) && spot_finding_settings.indexing) {
|
||||
auto latt_f = indexer->Run(experiment, output, spots_out);
|
||||
auto latt_f = indexer->Run(experiment, output);
|
||||
auto latt = latt_f.get();
|
||||
if (latt && spot_finding_settings.quick_integration) {
|
||||
auto img = CompressedImage(updated_image, experiment.GetXPixelsNum(),
|
||||
|
||||
Reference in New Issue
Block a user