Xmipp
v3.23.11-Nereus
|
#include <cuda_shift_corr_estimator.h>
Public Member Functions | |
CudaShiftCorrEstimator () | |
virtual | ~CudaShiftCorrEstimator () |
void | init2D (const std::vector< HW *> &hw, AlignType type, const FFTSettings< T > &dims, size_t maxShift, bool includingBatchFT, bool includingSingleFT, bool allowDataOverwrite) override |
void | release () |
void | load2DReferenceOneToN (const std::complex< T > *h_ref) override |
void | load2DReferenceOneToN (const T *h_ref) override |
void | computeCorrelations2DOneToN (std::complex< T > *h_inOut, bool center) override |
void | computeCorrelations2DOneToN (const HW &hw, std::complex< T > *inOut, const std::complex< T > *ref, const Dimensions &dims, bool center) override |
void | computeShift2DOneToN (T *others) override |
HW & | getHW () const override |
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 std::vector< GPU *> &gpus, std::complex< T > *d_othersF, T *d_othersS, std::complex< T > *d_ref, const FFTSettings< T > &settings, cufftHandle plan, T *h_centers, size_t maxShift) |
template<bool center> | |
static void | sComputeCorrelations2DOneToN (const GPU &gpu, std::complex< T > *d_inOut, const std::complex< T > *d_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 45 of file cuda_shift_corr_estimator.h.
|
inline |
Definition at line 47 of file cuda_shift_corr_estimator.h.
|
inlinevirtual |
Definition at line 51 of file cuda_shift_corr_estimator.h.
|
overridevirtual |
Implements Alignment::AShiftCorrEstimator< T >.
Definition at line 184 of file cuda_shift_corr_estimator.cpp.
|
overridevirtual |
Implements Alignment::AShiftCorrEstimator< T >.
Definition at line 419 of file cuda_shift_corr_estimator.cpp.
|
overridevirtual |
Implements Alignment::AShiftEstimator< T >.
Definition at line 281 of file cuda_shift_corr_estimator.cpp.
|
static |
Definition at line 357 of file cuda_shift_corr_estimator.cpp.
|
inlineoverridevirtual |
Implements Alignment::AShiftEstimator< T >.
Definition at line 93 of file cuda_shift_corr_estimator.h.
|
overridevirtual |
Implements Alignment::AShiftCorrEstimator< T >.
Definition at line 34 of file cuda_shift_corr_estimator.cpp.
|
overridevirtual |
Implements Alignment::AShiftCorrEstimator< T >.
Definition at line 90 of file cuda_shift_corr_estimator.cpp.
|
overridevirtual |
Implements Alignment::AShiftEstimator< T >.
Definition at line 107 of file cuda_shift_corr_estimator.cpp.
|
virtual |
Reimplemented from Alignment::AShiftCorrEstimator< T >.
Definition at line 130 of file cuda_shift_corr_estimator.cpp.
|
static |
Definition at line 440 of file cuda_shift_corr_estimator.cpp.