5#include <rexlib/core/operation/operation_declaration_macros.hpp>
6#include <rexlib/core/platform/dynamic_shared_object.h>
7#include <rexlib/em/em_component.hpp>
8#include <rexlib/em/ops/parameters/gridding_window.hpp>
9#include <rexlib/em/ops/reconstruction/slice_insertion_rules.hpp>
16REXLIB_DECLARE_OPERATION_TRAITS(
19 REXLIB_OPERANDS(
"numerator",
"denominator"),
45REXLIB_BEGIN_TEMPLATE_BASE
48 insert_weighted_slices_operation,
49 insert_weighted_slices_operation_traits
Container for multidimensional numeric data.
Definition array.hpp:31
Separable window that spreads a sample over the voxels of a grid.
Definition gridding_window.hpp:24
Insert the spectra of projections into the spectrum of a volume, with a denominator weight per freque...
Definition insert_weighted_slices_operation.hpp:51
insert_weighted_slices_operation(const gridding_window &window) noexcept
Construct an insertion with a gridding window.
const gridding_window & get_window() const noexcept
Get the gridding window.
CRTP base for operations that are trivially declared.
Definition trivial_operation.hpp:34
operand_type_rule< type_list< pivot_from_input< 1, slice_insertion_type_domain > >, type_list< slot_complex_of< 0 >, slot_same_as< 0 > >, type_list< slot_complex_of< 0 >, slot_same_as< 0 >, slot_complex_of< 0 >, slot_same_as< 0 >, slot_same_as< 0 >, slot_same_as< 0 > > > weighted_slice_insertion_type_rule
Type rule of insert_weighted_slices_operation.
Definition slice_insertion_rules.hpp:155
operand_shape_rule< slice_insertion_pivots, type_list< volume_half_spectrum_core, volume_half_spectrum_core >, type_list< volume_half_spectrum_core, volume_half_spectrum_core, slice_half_spectrum_core, slice_half_spectrum_core, slice_transform_core, slice_radial_core >, trailing_core, output_batch::accumulated > weighted_slice_insertion_shape_rule
Shape rule of insert_weighted_slices_operation.
Definition slice_insertion_rules.hpp:139
std::pair< array, array > insert_weighted_slices(const_array_ref numerator, const_array_ref denominator, const_array_ref slices, const_array_ref weights, const_array_ref transforms, const_array_ref radial_weights, const gridding_window &window, const execution_context &context, array *numerator_out=nullptr, array *denominator_out=nullptr)
Insert the spectra of projections into the spectrum of a volume, with a denominator weight per freque...
Arrays, the operations on them and the devices that run those operations.
Definition cpu_device.hpp:10