Xmipp
v3.23.11-Nereus
|
#include <shift_corr_estimator.h>
Public Member Functions | |
ShiftCorrEstimator () | |
virtual | ~ShiftCorrEstimator () |
void | release () override |
void | init2D (const std::vector< HW *> &hw, AlignType type, const FFTSettings< T > &dims, size_t maxShift, bool includingBatchFT, bool includingSingleFT, bool allowDataOverwrite) override |
void | load2DReferenceOneToN (const std::complex< T > *ref) override |
void | load2DReferenceOneToN (const T *ref) override |
void | computeShift2DOneToN (T *others) override |
void | computeCorrelations2DOneToN (std::complex< T > *inOut, bool center) override |
void | computeCorrelations2DOneToN (const HW &hw, std::complex< T > *inOut, const std::complex< T > *ref, const Dimensions &dims, bool center) override |
HW & | getHW () const override |
template<bool CENTER> | |
void | sComputeCorrelations2DOneToN (const HW &hw, std::complex< T > *__restrict inOut, const std::complex< T > *__restrict ref, const Dimensions &__restrict dims) |
Public Member Functions inherited from Alignment::AShiftCorrEstimator< T > | |
AShiftCorrEstimator () | |
AShiftCorrEstimator (const AShiftCorrEstimator &)=delete | |
AShiftCorrEstimator (const AShiftCorrEstimator &&)=delete | |
virtual | ~AShiftCorrEstimator () |
AShiftCorrEstimator & | operator= (const AShiftCorrEstimator &)=delete |
AShiftCorrEstimator & | operator= (const AShiftCorrEstimator &&)=delete |
Public Member Functions inherited from Alignment::AShiftEstimator< T > | |
AShiftEstimator () | |
AShiftEstimator (const AShiftEstimator &)=delete | |
AShiftEstimator (const AShiftEstimator &&)=delete | |
virtual | ~AShiftEstimator () |
AShiftEstimator & | operator= (const AShiftEstimator &)=delete |
AShiftEstimator & | operator= (const AShiftEstimator &&)=delete |
std::vector< Point2D< float > > | getShifts2D () |
constexpr bool | isInitialized () const |
constexpr Dimensions | getDimensions () const |
constexpr AlignType | getAlignType () const |
Static Public Member Functions | |
static std::vector< Point2D< float > > | computeShifts2DOneToN (const CPU &cpu, std::complex< T > *othersF, T *othersS, std::complex< T > *ref, const FFTSettings< T > &settings, void *plan, size_t maxShift) |
static void | sComputeCorrelations2DOneToN (const HW &hw, std::complex< T > *inOut, const std::complex< T > *ref, const Dimensions &dims, bool center) |
template<bool CENTER> | |
static void | sComputeCorrelations2DOneToN (const HW &hw, std::complex< T > *inOut, const std::complex< T > *ref, const Dimensions &dims) |
Additional Inherited Members | |
Protected Member Functions inherited from Alignment::AShiftCorrEstimator< T > | |
virtual void | init2D (AlignType type, const FFTSettings< T > &dims, size_t maxShift, bool includingBatchFT, bool includingSingleFT, bool allowDataOverwrite) |
void | init2D (const std::vector< HW *> &hw, AlignType type, const Dimensions &dims, size_t batch, size_t maxShift) |
Protected Member Functions inherited from Alignment::AShiftEstimator< T > | |
virtual void | init2D (AlignType type, const Dimensions &dims, size_t batch, size_t maxShift) |
Protected Attributes inherited from Alignment::AShiftCorrEstimator< T > | |
FFTSettings< T > * | m_settingsInv |
size_t | m_centerSize |
bool | m_includingBatchFT |
bool | m_includingSingleFT |
bool | m_is_ref_FD_loaded |
bool | m_allowDataOverwrite |
Protected Attributes inherited from Alignment::AShiftEstimator< T > | |
AlignType | m_type |
const Dimensions * | m_dims |
size_t | m_batch |
size_t | m_maxShift |
std::vector< Point2D< float > > | m_shifts2D |
bool | m_is_ref_loaded |
bool | m_is_shift_computed |
bool | m_isInit |
Definition at line 42 of file shift_corr_estimator.h.
|
inline |
Definition at line 44 of file shift_corr_estimator.h.
|
inlinevirtual |
Definition at line 48 of file shift_corr_estimator.h.
|
overridevirtual |
Implements Alignment::AShiftCorrEstimator< T >.
Definition at line 141 of file shift_corr_estimator.cpp.
|
overridevirtual |
Implements Alignment::AShiftCorrEstimator< T >.
Definition at line 157 of file shift_corr_estimator.cpp.
|
overridevirtual |
Implements Alignment::AShiftEstimator< T >.
Definition at line 212 of file shift_corr_estimator.cpp.
|
static |
Definition at line 266 of file shift_corr_estimator.cpp.
|
inlineoverridevirtual |
Implements Alignment::AShiftEstimator< T >.
Definition at line 102 of file shift_corr_estimator.h.
|
overridevirtual |
Implements Alignment::AShiftCorrEstimator< T >.
Definition at line 33 of file shift_corr_estimator.cpp.
|
overridevirtual |
Implements Alignment::AShiftCorrEstimator< T >.
Definition at line 125 of file shift_corr_estimator.cpp.
|
overridevirtual |
Implements Alignment::AShiftEstimator< T >.
Definition at line 54 of file shift_corr_estimator.cpp.
|
overridevirtual |
Reimplemented from Alignment::AShiftCorrEstimator< T >.
Definition at line 86 of file shift_corr_estimator.cpp.
|
inlinestatic |
Definition at line 82 of file shift_corr_estimator.h.
|
static |
void Alignment::ShiftCorrEstimator< T >::sComputeCorrelations2DOneToN | ( | const HW & | hw, |
std::complex< T > *__restrict | inOut, | ||
const std::complex< T > *__restrict | ref, | ||
const Dimensions &__restrict | dims | ||
) |
Definition at line 174 of file shift_corr_estimator.cpp.