Xmipp
v3.23.11-Nereus
|
#include <image_assignment_tilt_pair.h>
Public Member Functions | |
void | defineParams () |
void | readParams () |
void | search_affine_transform (float u1x, float u1y, float u2x, float u2y, float u3x, float u3y, float t1x, float t1y, float t2x, float t2y, float t3x, float t3y, const Matrix1D< double > &ux, const Matrix1D< double > &uy, size_t Xdim, size_t Ydim, struct Delaunay_T &delaunay_tilt, int &bestInliers, Matrix2D< double > &A_coarse, Matrix1D< double > &T_coarse, bool contingency, int thrs) |
void | findMaximumMinimum (const float u1, const float u2, const float u3, double &u_max, double &u_min) |
bool | checkwindow (const float t1, const float t2, const float t3, const double u_max, const double u_min) |
void | run () |
Public Member Functions inherited from XmippProgram | |
const char * | getParam (const char *param, int arg=0) |
const char * | getParam (const char *param, const char *subparam, int arg=0) |
int | getIntParam (const char *param, int arg=0) |
int | getIntParam (const char *param, const char *subparam, int arg=0) |
double | getDoubleParam (const char *param, int arg=0) |
double | getDoubleParam (const char *param, const char *subparam, int arg=0) |
float | getFloatParam (const char *param, int arg=0) |
float | getFloatParam (const char *param, const char *subparam, int arg=0) |
void | getListParam (const char *param, StringVector &list) |
int | getCountParam (const char *param) |
bool | checkParam (const char *param) |
bool | existsParam (const char *param) |
void | addParamsLine (const String &line) |
void | addParamsLine (const char *line) |
ParamDef * | getParamDef (const char *param) const |
virtual void | quit (int exit_code=0) const |
virtual int | tryRun () |
void | initProgress (size_t total, size_t stepBin=60) |
void | setProgress (size_t value=0) |
void | endProgress () |
void | processDefaultComment (const char *param, const char *left) |
void | setDefaultComment (const char *param, const char *comment) |
virtual void | initComments () |
void | setProgramName (const char *name) |
void | addUsageLine (const char *line, bool verbatim=false) |
void | clearUsage () |
void | addExampleLine (const char *example, bool verbatim=true) |
void | addSeeAlsoLine (const char *seeAlso) |
void | addKeywords (const char *keywords) |
const char * | name () const |
virtual void | usage (int verb=0) const |
virtual void | usage (const String ¶m, int verb=2) |
int | version () const |
virtual void | show () const |
virtual void | read (int argc, const char **argv, bool reportErrors=true) |
virtual void | read (int argc, char **argv, bool reportErrors=true) |
void | read (const String &argumentsLine) |
XmippProgram () | |
XmippProgram (int argc, const char **argv) | |
virtual | ~XmippProgram () |
Public Attributes | |
FileName | fntilt |
FileName | fnuntilt |
FileName | fndir |
FileName | fnmic |
int | mshift |
double | particle_size |
double | thr |
double | tiltest |
MetaDataVec | mdPartial |
Public Attributes inherited from XmippProgram | |
bool | doRun |
bool | runWithoutArgs |
int | verbose |
Verbosity level. More... | |
int | debug |
Additional Inherited Members | |
Protected Member Functions inherited from XmippProgram | |
void | defineCommons () |
Protected Attributes inherited from XmippProgram | |
int | errorCode |
ProgramDef * | progDef |
Program definition and arguments parser. More... | |
std::map< String, CommentList > | defaultComments |
int | argc |
Original command line arguments. More... | |
const char ** | argv |
Definition at line 41 of file image_assignment_tilt_pair.h.
bool ProgassignmentTiltPair::checkwindow | ( | const float | t1, |
const float | t2, | ||
const float | t3, | ||
const double | u_max, | ||
const double | u_min | ||
) |
Definition at line 209 of file image_assignment_tilt_pair.cpp.
|
virtual |
Function in which the param of each Program are defined.
Reimplemented from XmippProgram.
Definition at line 47 of file image_assignment_tilt_pair.cpp.
void ProgassignmentTiltPair::findMaximumMinimum | ( | const float | u1, |
const float | u2, | ||
const float | u3, | ||
double & | u_max, | ||
double & | u_min | ||
) |
Definition at line 181 of file image_assignment_tilt_pair.cpp.
|
virtual |
Function in which each program will read parameters that it need. If some error occurs the usage will be printed out.
Reimplemented from XmippProgram.
Definition at line 35 of file image_assignment_tilt_pair.cpp.
|
virtual |
This function will be start running the program. it also should be implemented by derived classes.
Reimplemented from XmippProgram.
Definition at line 225 of file image_assignment_tilt_pair.cpp.
void ProgassignmentTiltPair::search_affine_transform | ( | float | u1x, |
float | u1y, | ||
float | u2x, | ||
float | u2y, | ||
float | u3x, | ||
float | u3y, | ||
float | t1x, | ||
float | t1y, | ||
float | t2x, | ||
float | t2y, | ||
float | t3x, | ||
float | t3y, | ||
const Matrix1D< double > & | ux, | ||
const Matrix1D< double > & | uy, | ||
size_t | Xdim, | ||
size_t | Ydim, | ||
struct Delaunay_T & | delaunay_tilt, | ||
int & | bestInliers, | ||
Matrix2D< double > & | A_coarse, | ||
Matrix1D< double > & | T_coarse, | ||
bool | contingency, | ||
int | thrs | ||
) |
Definition at line 63 of file image_assignment_tilt_pair.cpp.
FileName ProgassignmentTiltPair::fndir |
Definition at line 47 of file image_assignment_tilt_pair.h.
FileName ProgassignmentTiltPair::fnmic |
Definition at line 47 of file image_assignment_tilt_pair.h.
FileName ProgassignmentTiltPair::fntilt |
Filenames
Definition at line 47 of file image_assignment_tilt_pair.h.
FileName ProgassignmentTiltPair::fnuntilt |
Definition at line 47 of file image_assignment_tilt_pair.h.
MetaDataVec ProgassignmentTiltPair::mdPartial |
Definition at line 61 of file image_assignment_tilt_pair.h.
int ProgassignmentTiltPair::mshift |
Maximum shift
Definition at line 50 of file image_assignment_tilt_pair.h.
double ProgassignmentTiltPair::particle_size |
Particle size
Definition at line 53 of file image_assignment_tilt_pair.h.
double ProgassignmentTiltPair::thr |
threshold
Definition at line 56 of file image_assignment_tilt_pair.h.
double ProgassignmentTiltPair::tiltest |
Tilt estimation angle
Definition at line 59 of file image_assignment_tilt_pair.h.