7 #ifndef IMPEM2D_FF_TOPERATIONS_H
8 #define IMPEM2D_FF_TOPERATIONS_H
10 #include <IMP/em2d/em2d_config.h>
14 IMPEM2D_BEGIN_NAMESPACE
36 IMPEM2D_DEPRECATED_FUNCTION_DECL(2.26)
85 IMPEM2D_DEPRECATED_FUNCTION_DECL(2.26)
void get_autocorrelation2d_no_preprocessing(const DoubleMatrix &M, DoubleMatrix &corr)
Autocorrelation without preprocessing.
void get_fft_using_optimal_size(const DoubleMatrix &m, DoubleMatrix &M)
Logging and error reporting support.
void get_spectrum(const DoubleMatrix &m, DoubleMatrix &real, DoubleMatrix &imag)
Computes the fft of a matrix and returns the real and imaginary matrices.
void get_autocorrelation2d(const DoubleMatrix &m, DoubleMatrix &corr)
Computes the autocorrelation matrix.
Matrices used to store image data Copyright 2007-2026 IMP Inventors. All rights reserved.
int get_optimal_dft_size(int n)
Get the smallest size >= n that can be transformed efficiently by FFT.
void get_correlation2d(const DoubleMatrix &A, const DoubleMatrix &B, DoubleMatrix &corr)
Correlation matrix between two 2D matrices using FFT.
void do_matrix_to_image_flip(DoubleMatrix &m)
Eigen::Array< double, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor > DoubleMatrix
Matrix of doubles, used to store the data of an image.
void get_correlation2d_no_preprocessing(const DoubleMatrix &M1, const DoubleMatrix &M2, DoubleMatrix &corr)
Correlation without preprocessing.