3 #include "raytracer/canonical.h" 4 #include "raytracer/image_source/postprocess.h" 5 #include "raytracer/stochastic/postprocess.h" 7 #include "core/sum_ranges.h" 12 template <
typename Histogram,
typename Method>
13 auto postprocess(
const simulation_results<Histogram>& input,
15 const glm::vec3& position,
17 const core::environment& environment,
18 double output_sample_rate) {
20 raytracer::image_source::postprocess(begin(input.image_source),
21 end(input.image_source),
24 environment.speed_of_sound,
27 const auto tail = raytracer::stochastic::postprocess(input.stochastic,
33 return core::sum_vectors(head, tail);
Definition: pressure.h:22
Definition: capsule_base.h:9