23 auto f = std::make_unique<processor::filter::SnapshotFrequencyFilter>();
30 auto f = std::make_unique<processor::filter::SnapshotSimilarityFilter>();
37 auto f = std::make_unique<processor::filter::SnapshotImportanceFilter>();
46 auto f = std::make_unique<processor::converter::data::image::PngConverter>();
53 auto f = std::make_unique<processor::converter::data::image::ExrConverter>();
59 std::map<std::string, processor::SnapshotFilter::FilterStatistics>
62 std::map<std::string, processor::SnapshotFilter::FilterStatistics> stats;
63 bool recordedOverall =
false;
65 for (std::size_t i = 0; i <
snapFilters.size(); i++)
67 auto statistics =
snapFilters.at(i)->getFilterStatistics();
68 auto recorded = statistics.accepted + statistics.rejected;
72 recordedOverall =
true;
77 throw InvalidArgumentException(
78 "NoFilters recorded any data being accepted or rejected, "
79 "cant store empty statistics");
88 filter_ptr->resetStatisticsForNewEpisode();