Xmipp
v3.23.11-Nereus
|
Classes | |
class | ProgProject |
struct | Angle_range |
class | ParametersProjection |
class | PROJECT_Side_Info |
Enumerations | |
enum | projectionType { REALSPACE, SHEARS, FOURIER } |
Type of projection. More... | |
Functions | |
int | PROJECT_Assign_angles (MetaData &DF, const ParametersProjection &prm) |
int | PROJECT_Effectively_project (const FileName &fnOut, bool singleProjection, int projType, const ParametersProjection &prm, PROJECT_Side_Info &side, const Crystal_Projection_Parameters &prm_crystal, Projection &proj, MetaData &SF) |
int | ROUT_project (ProgProject &prm, Projection &proj, MetaData &SF) |
enum projectionType |
Type of projection.
Enumerator | |
---|---|
REALSPACE | |
SHEARS | |
FOURIER |
int PROJECT_Assign_angles | ( | MetaData & | DF, |
const ParametersProjection & | prm | ||
) |
Assign angles from the projection parameters to a Document file. Given a set of projection parameters this function returns a document file with a set of angles according to the specifications. The order in the output document file is rotational, tilting and psi angle.
The assignment can be done from another document file (with any angle order) or internally generated according to the ranges defined in the parameters.
The total number of angles is returned. The Document File is cleared, the first key in the document file is the starting key of the projection set. The current line of the document file is set to the beginning of the file.
int PROJECT_Effectively_project | ( | const FileName & | fnOut, |
bool | singleProjection, | ||
int | projType, | ||
const ParametersProjection & | prm, | ||
PROJECT_Side_Info & | side, | ||
const Crystal_Projection_Parameters & | prm_crystal, | ||
Projection & | proj, | ||
MetaData & | SF | ||
) |
Effectively project. This is the routine which effectively projects, it needs the projection parameters and the side information, ie, the loaded phantom and list of angles from which project. The Projection field will keep at the end the last projection, this is useful in case you want to project only one image, although it is also written to disk. The returned number is the total number of projections generated. A selection file with all images is also returned.
int ROUT_project | ( | ProgProject & | prm, |
Projection & | proj, | ||
MetaData & | SF | ||
) |
Main Project routine. Generate a set of projections given the projection parameters. This is the main projecting routine. This function generates a set of projections according to the projecting parameters defined. The projections are written to disk.
The Projection field will keep at the end the last projection, this is useful in case you want to project only one image, although it is also written to disk. The returned number is the total number of projections generated. A selection file with all images is also returned (and saved if any name has been given in the parameters).
Definition at line 1174 of file project.cpp.