#include <iterative_alignment_estimator.h>
template<typename T>
class Alignment::IterativeAlignmentEstimator< T >
Definition at line 46 of file iterative_alignment_estimator.h.
◆ IterativeAlignmentEstimator()
Definition at line 48 of file iterative_alignment_estimator.h.
53 m_rot_est(rot_estimator),
54 m_shift_est(shift_estimator),
55 m_meritComputer(meritComputer),
56 m_threadPool(threadPool),
57 m_transformer(interpolator) {
58 m_sameEstimators = ((
void*)&m_shift_est == (
void*)&m_rot_est);
check(nparam, nf, nfsr, &Linfty, nineq, nineqn, neq, neqn, ncsrl, ncsrn, mode, &modem, eps, bgbnd, param)
◆ compute()
◆ loadReference()
Definition at line 142 of file iterative_alignment_estimator.cpp.
144 m_meritComputer.loadReference(ref);
145 m_shift_est.load2DReferenceOneToN(ref);
146 if ( ! m_sameEstimators) {
147 m_rot_est.loadReference(ref);
◆ sApplyTransform()
Definition at line 64 of file iterative_alignment_estimator.cpp.
67 const size_t n = dims.
n();
68 const size_t z = dims.
z();
69 const size_t y = dims.
y();
70 const size_t x = dims.
x();
72 auto futures = std::vector<std::future<void>>();
74 auto workload = [&](
int id,
size_t signalId){
84 for (
size_t i = 0;
i <
n; ++
i) {
85 futures.emplace_back(pool.
push(workload,
i));
87 for (
auto &
f : futures) {
auto push(F &&f, Rest &&... rest) -> std::future< decltype(f(0, rest...))>
CUDA_HD constexpr size_t z() const
CUDA_HD constexpr size_t x() const
CUDA_HD constexpr size_t sizeSingle() const
CUDA_HD constexpr size_t y() const
CUDA_HD constexpr size_t n() const
The documentation for this class was generated from the following files: