Xmipp
v3.23.11-Nereus
|
#include <projection.h>
Public Member Functions | |
ParametersProjectionTomography () | |
void | read (const FileName &fn_proj_param) |
void | defineParams (XmippProgram *program) |
void | readParams (XmippProgram *program) |
void | calculateProjectionAngles (Projection &P, double angle, double inplaneRot, const Matrix1D< double > &sinplane) |
Public Attributes | |
FileName | fnPhantom |
FileName | fnRoot |
Root filename (used for a stack) More... | |
FileName | fnOut |
Output filename (used for a singleProjection) More... | |
bool | singleProjection |
Only project a single image. More... | |
int | starting |
First projection number. By default, 1. More... | |
std::string | fn_projection_extension |
Extension for projection filenames. This is optional. More... | |
int | proj_Xdim |
Projection Xdim. More... | |
int | proj_Ydim |
Projection Ydim. More... | |
bool | only_create_angles |
Only create angles, do not project. More... | |
bool | show_angles |
double | axisRot |
Rotational angle of the tilt axis. More... | |
double | axisTilt |
Tilt angle of the tilt axis. More... | |
Matrix1D< double > | raxis |
Offset of the tilt axis. More... | |
double | tilt0 |
Minimum tilt around this axis. More... | |
double | tiltF |
Maximum tilt around this axis. More... | |
double | tiltStep |
Step in tilt. More... | |
double | Npixel_avg |
Bias to be applied to each pixel grey value */. More... | |
double | Npixel_dev |
Standard deviation of the noise to be added to each pixel grey value. More... | |
double | Ncenter_avg |
Bias to apply to the image center. More... | |
double | Ncenter_dev |
Standard deviation of the image center. More... | |
double | Nangle_avg |
Bias to apply to the angles. More... | |
double | Nangle_dev |
Standard deviation of the angles. More... | |
Projecting parameters. This class reads a set of projection parameters in a file (see xmipp_project_tomography for more information about the file structure) and extract the useful information from it.
Definition at line 58 of file projection.h.
ParametersProjectionTomography::ParametersProjectionTomography | ( | ) |
Definition at line 50 of file projection.cpp.
void ParametersProjectionTomography::calculateProjectionAngles | ( | Projection & | P, |
double | angle, | ||
double | inplaneRot, | ||
const Matrix1D< double > & | sinplane | ||
) |
Calculate the Euler angles and X-Y shifts from the tilt axis direction and tilt angle.
As, usually, the tomographic rotation angle is the tilt angle, we are forcing to keep the sign of the resulting tilt angle coincides the sign of the incoming angle
Definition at line 277 of file projection.cpp.
void ParametersProjectionTomography::defineParams | ( | XmippProgram * | program | ) |
Definition at line 74 of file projection.cpp.
void ParametersProjectionTomography::read | ( | const FileName & | fn_proj_param | ) |
Read projection parameters from a file.
Definition at line 129 of file projection.cpp.
void ParametersProjectionTomography::readParams | ( | XmippProgram * | program | ) |
Definition at line 97 of file projection.cpp.
double ParametersProjectionTomography::axisRot |
Rotational angle of the tilt axis.
Definition at line 86 of file projection.h.
double ParametersProjectionTomography::axisTilt |
Tilt angle of the tilt axis.
Definition at line 88 of file projection.h.
std::string ParametersProjectionTomography::fn_projection_extension |
Extension for projection filenames. This is optional.
Definition at line 73 of file projection.h.
FileName ParametersProjectionTomography::fnOut |
Output filename (used for a singleProjection)
Definition at line 67 of file projection.h.
FileName ParametersProjectionTomography::fnPhantom |
Phantom filename. It must be a Xmipp volume.
Definition at line 63 of file projection.h.
FileName ParametersProjectionTomography::fnRoot |
Root filename (used for a stack)
Definition at line 65 of file projection.h.
double ParametersProjectionTomography::Nangle_avg |
Bias to apply to the angles.
Definition at line 109 of file projection.h.
double ParametersProjectionTomography::Nangle_dev |
Standard deviation of the angles.
Definition at line 111 of file projection.h.
double ParametersProjectionTomography::Ncenter_avg |
Bias to apply to the image center.
Definition at line 104 of file projection.h.
double ParametersProjectionTomography::Ncenter_dev |
Standard deviation of the image center.
Definition at line 106 of file projection.h.
double ParametersProjectionTomography::Npixel_avg |
Bias to be applied to each pixel grey value */.
Definition at line 99 of file projection.h.
double ParametersProjectionTomography::Npixel_dev |
Standard deviation of the noise to be added to each pixel grey value.
Definition at line 101 of file projection.h.
bool ParametersProjectionTomography::only_create_angles |
Only create angles, do not project.
Definition at line 81 of file projection.h.
int ParametersProjectionTomography::proj_Xdim |
Projection Xdim.
Definition at line 76 of file projection.h.
int ParametersProjectionTomography::proj_Ydim |
Projection Ydim.
Definition at line 78 of file projection.h.
Matrix1D<double> ParametersProjectionTomography::raxis |
Offset of the tilt axis.
Definition at line 90 of file projection.h.
bool ParametersProjectionTomography::show_angles |
Definition at line 83 of file projection.h.
bool ParametersProjectionTomography::singleProjection |
Only project a single image.
Definition at line 69 of file projection.h.
int ParametersProjectionTomography::starting |
First projection number. By default, 1.
Definition at line 71 of file projection.h.
double ParametersProjectionTomography::tilt0 |
Minimum tilt around this axis.
Definition at line 92 of file projection.h.
double ParametersProjectionTomography::tiltF |
Maximum tilt around this axis.
Definition at line 94 of file projection.h.
double ParametersProjectionTomography::tiltStep |
Step in tilt.
Definition at line 96 of file projection.h.