Xmipp
v3.23.11-Nereus
|
Modules | |
Projections (2D Image + Euler angles) | |
Classes | |
class | Projection |
Functions | |
void | Projection::reset (int Ydim, int Xdim) |
void | Projection::setAngles (double _rot, double _tilt, double _psi) |
void | Projection::read (const FileName &fn, const bool only_apply_shifts=false, DataMode datamode=DATA, MDRow *row=nullptr) |
void | Projection::assign (const Projection &P) |
FourierProjector::FourierProjector (double paddFactor, double maxFreq, int degree) | |
FourierProjector::FourierProjector (MultidimArray< double > &V, double paddFactor, double maxFreq, int BSplinedegree) | |
void | FourierProjector::project (double rot, double tilt, double psi, const MultidimArray< double > *ctf=nullptr) |
void | FourierProjector::updateVolume (MultidimArray< double > &V) |
void | FourierProjector::produceSideInfo () |
Prepare the Spline coefficients and projection space. More... | |
void | FourierProjector::produceSideInfoProjection () |
Prepare projection space. More... | |
Variables | |
Matrix1D< double > | Projection::direction |
Matrix2D< double > | Projection::euler |
Matrix2D< double > | Projection::eulert |
double | FourierProjector::paddingFactor |
Padding factor. More... | |
double | FourierProjector::maxFrequency |
Maximum Frequency for pixels. More... | |
double | FourierProjector::BSplineDeg |
The order of B-Spline for interpolation. More... | |
FourierTransformer | FourierProjector::transformer2D |
MultidimArray< double > * | FourierProjector::volume |
MultidimArray< double > | FourierProjector::VfourierRealCoefs |
MultidimArray< double > | FourierProjector::VfourierImagCoefs |
MultidimArray< std::complex< double > > | FourierProjector::projectionFourier |
Image< double > | FourierProjector::projection |
MultidimArray< double > | FourierProjector::phaseShiftImgB |
MultidimArray< double > | FourierProjector::phaseShiftImgA |
int | FourierProjector::volumeSize |
int | FourierProjector::volumePaddedSize |
Matrix2D< double > | FourierProjector::E |
void Projection::assign | ( | const Projection & | P | ) |
Another function for assignment.
Definition at line 63 of file fourier_projection.cpp.
FourierProjector::FourierProjector | ( | double | paddFactor, |
double | maxFreq, | ||
int | degree | ||
) |
Definition at line 68 of file fourier_projection.cpp.
FourierProjector::FourierProjector | ( | MultidimArray< double > & | V, |
double | paddFactor, | ||
double | maxFreq, | ||
int | BSplinedegree | ||
) |
Definition at line 76 of file fourier_projection.cpp.
void FourierProjector::produceSideInfo | ( | ) |
Prepare the Spline coefficients and projection space.
Definition at line 247 of file fourier_projection.cpp.
void FourierProjector::produceSideInfoProjection | ( | ) |
Prepare projection space.
Definition at line 299 of file fourier_projection.cpp.
void FourierProjector::project | ( | double | rot, |
double | tilt, | ||
double | psi, | ||
const MultidimArray< double > * | ctf = nullptr |
||
) |
This method gets the volume's Fourier and the Euler's angles as the inputs and interpolates the related projection
Definition at line 91 of file fourier_projection.cpp.
void Projection::read | ( | const FileName & | fn, |
const bool | only_apply_shifts = false , |
||
DataMode | datamode = DATA , |
||
MDRow * | row = nullptr |
||
) |
Read a Projection from file.
When a projection is read, the Euler matrices and perpendicular direction is computed and stored in the Projection structure.
Definition at line 50 of file fourier_projection.cpp.
void Projection::reset | ( | int | Ydim, |
int | Xdim | ||
) |
Init_zeros and move origin to center.
This function initialises the projection plane with 0's, and then moves the logical origin of the image to the physical center of the image (using the Xmipp conception of image center).
Definition at line 33 of file fourier_projection.cpp.
void Projection::setAngles | ( | double | _rot, |
double | _tilt, | ||
double | _psi | ||
) |
Set Euler angles for this projection.
The Euler angles are stored in the Xmipp header, then the pass matrices (Universe <—> Projection coordinate system) are computed, and the vector perpendicular to this projection plane is also calculated.
Definition at line 40 of file fourier_projection.cpp.
void FourierProjector::updateVolume | ( | MultidimArray< double > & | V | ) |
Update volume
Definition at line 84 of file fourier_projection.cpp.
double FourierProjector::BSplineDeg |
The order of B-Spline for interpolation.
Definition at line 119 of file fourier_projection.h.
Matrix1D< double > Projection::direction |
Vector perpendicular to the projection plane. It is calculated as a function of rot and tilt.
Definition at line 62 of file fourier_projection.h.
Matrix2D<double> FourierProjector::E |
Definition at line 149 of file fourier_projection.h.
Matrix2D< double > Projection::euler |
Matrix used to pass from the Universal coordinate system to the projection coordinate system.
Definition at line 71 of file fourier_projection.h.
Matrix2D< double > Projection::eulert |
double FourierProjector::maxFrequency |
Maximum Frequency for pixels.
Definition at line 117 of file fourier_projection.h.
double FourierProjector::paddingFactor |
Padding factor.
Definition at line 115 of file fourier_projection.h.
MultidimArray<double> FourierProjector::phaseShiftImgA |
Definition at line 140 of file fourier_projection.h.
MultidimArray<double> FourierProjector::phaseShiftImgB |
Definition at line 139 of file fourier_projection.h.
Image<double> FourierProjector::projection |
Definition at line 136 of file fourier_projection.h.
MultidimArray< std::complex<double> > FourierProjector::projectionFourier |
Definition at line 133 of file fourier_projection.h.
FourierTransformer FourierProjector::transformer2D |
Definition at line 123 of file fourier_projection.h.
MultidimArray< double > FourierProjector::VfourierImagCoefs |
Definition at line 130 of file fourier_projection.h.
MultidimArray< double > FourierProjector::VfourierRealCoefs |
Definition at line 129 of file fourier_projection.h.
MultidimArray<double>* FourierProjector::volume |
Definition at line 126 of file fourier_projection.h.
int FourierProjector::volumePaddedSize |
Definition at line 146 of file fourier_projection.h.
int FourierProjector::volumeSize |
Definition at line 143 of file fourier_projection.h.