|
rexlib 0.1.0
Device-agnostic array computing library for CryoEM and CryoET image processing, with a pluggable backend architecture
|
Insert the spectra of projections into the spectrum of a volume. More...
#include <rexlib/em/ops/reconstruction/insert_slices_operation.hpp>
Additional Inherited Members | |
Public Types inherited from rexlib::basic_operation< Derived, Traits > | |
| using | traits_type = Traits |
| using | shape_rule_type = typename Traits::shape_rule_type |
| using | type_rule_type = typename Traits::type_rule_type |
Static Public Member Functions inherited from rexlib::basic_operation< Derived, Traits > | |
| static const operation_descriptor & | get_static_descriptor () noexcept |
| Get the description shared by every instance. | |
Static Public Attributes inherited from rexlib::basic_operation< Derived, Traits > | |
| static REXLIB_CONST_CONSTEXPR std::size_t | output_operand_count |
| static REXLIB_CONST_CONSTEXPR std::size_t | input_operand_count |
Insert the spectra of projections into the spectrum of a volume.
Each slice is the half spectrum of a projection of a volume. By the central slice theorem, it is a central plane of the spectrum of the volume. The operation adds the slices to a numerator and their weights to a denominator. The numerator divided by the denominator estimates the half spectrum of the volume.
numerator and denominator: the accumulators, complex and real. They are half spectra of a cubic volume, with the core axes (N, N, N / 2 + 1).slice: half spectra of square images, with the core axes (n, n / 2 + 1), as rfft2 returns them.transform: 3x4 matrices [A | t], one per slice.radial_weight: a weight per frequency shell, with the core axis (n / 2 + 1).The outputs are the accumulators plus the insertions. Passing the accumulators as the outputs updates them in place. Any other overlap between an output and an input gives unspecified values.
The voxels g span the full spectrum of the volume. A contribution to a voxel with g_x < 0 goes, conjugated, to -g. A voxel beyond N / 2 in magnitude along any axis receives nothing. Along y and z of an even N, the frequencies N / 2 and -N / 2 are the same element. The order of the sums is unspecified.
|
explicitnoexcept |
Construct an insertion with a gridding window.
| window | The window that spreads a sample over the voxels. |
|
noexcept |
Get the gridding window.