fixed UI
This commit is contained in:
@@ -750,7 +750,7 @@ void apply_legacy_motion_correction(
|
||||
return results;
|
||||
}
|
||||
|
||||
if (live_config.gpr_algorithm == GprAlgorithm::LegacyExtended) {
|
||||
if (live_config.legacy_gpr_mode == LegacyGprMode::Extended) {
|
||||
const auto [regions, smoothed_accumulator] = extended_legacy_find_regions(
|
||||
grid,
|
||||
peaks_by_pair,
|
||||
|
||||
@@ -35,10 +35,20 @@ auto GprProcessor::process_collection(
|
||||
std::span<const ipc::PreprocessedCollection> previous_collections,
|
||||
const ProcessingLiveConfig& live_config
|
||||
) -> ipc::ResultCollection {
|
||||
if (live_config.gpr_algorithm != GprAlgorithm::Backprojection) {
|
||||
return process_legacy_gpr(run_config, collection, previous_collections, live_config);
|
||||
}
|
||||
return process_backprojection_gpr(run_config, collection, previous_collections, live_config);
|
||||
}
|
||||
|
||||
auto LegacyGprProcessor::name() const -> std::string {
|
||||
return "legacy_gpr";
|
||||
}
|
||||
|
||||
auto LegacyGprProcessor::process_collection(
|
||||
const config::RunConfig& run_config,
|
||||
const ipc::PreprocessedCollection& collection,
|
||||
std::span<const ipc::PreprocessedCollection> previous_collections,
|
||||
const ProcessingLiveConfig& live_config
|
||||
) -> ipc::ResultCollection {
|
||||
return process_legacy_gpr(run_config, collection, previous_collections, live_config);
|
||||
}
|
||||
|
||||
} // namespace radar::processing
|
||||
|
||||
Reference in New Issue
Block a user