Xmipp
v3.23.11-Nereus
|
#include <volume_homogenizer.h>
Public Member Functions | |
ProgVolumeHomogenizer () | |
void | readParams () |
void | defineParams () |
void | xmipp2Opencv (const MultidimArray< double > &xmippArray, cv::Mat &opencvMat) |
void | convert2Uint8 (cv::Mat opencvDoubleMat, cv::Mat &opencvUintMat) |
void | opencv2Xmipp (const cv::Mat &opencvMat, MultidimArray< double > &xmippArray) |
void | run () |
void | parameterList (size_t imgSize, int maxParamsTrial, float *paramList) |
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 | fnVol |
FileName | fnRef |
FileName | fnSetOfImgIn |
FileName | fnSetOfImgOut |
int | winSize |
double | cutFreq |
MetaDataDb | mdPartialParticles |
size_t | rank |
size_t | Nprocessors |
double | pyr_scale |
int | levels |
int | iterations |
bool | addToInput |
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 39 of file volume_homogenizer.h.
ProgVolumeHomogenizer::ProgVolumeHomogenizer | ( | ) |
Definition at line 32 of file volume_homogenizer.cpp.
void ProgVolumeHomogenizer::convert2Uint8 | ( | cv::Mat | opencvDoubleMat, |
cv::Mat & | opencvUintMat | ||
) |
Definition at line 89 of file volume_homogenizer.cpp.
|
virtual |
Function in which the param of each Program are defined.
Reimplemented from XmippProgram.
Definition at line 52 of file volume_homogenizer.cpp.
void ProgVolumeHomogenizer::opencv2Xmipp | ( | const cv::Mat & | opencvMat, |
MultidimArray< double > & | xmippArray | ||
) |
Definition at line 97 of file volume_homogenizer.cpp.
void ProgVolumeHomogenizer::parameterList | ( | size_t | imgSize, |
int | maxParamsTrial, | ||
float * | paramList | ||
) |
Definition at line 106 of file volume_homogenizer.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 38 of file volume_homogenizer.cpp.
|
virtual |
This function will be start running the program. it also should be implemented by derived classes.
Reimplemented from XmippProgram.
Definition at line 140 of file volume_homogenizer.cpp.
void ProgVolumeHomogenizer::xmipp2Opencv | ( | const MultidimArray< double > & | xmippArray, |
cv::Mat & | opencvMat | ||
) |
Definition at line 79 of file volume_homogenizer.cpp.
bool ProgVolumeHomogenizer::addToInput |
Definition at line 58 of file volume_homogenizer.h.
double ProgVolumeHomogenizer::cutFreq |
Definition at line 46 of file volume_homogenizer.h.
FileName ProgVolumeHomogenizer::fnRef |
Definition at line 42 of file volume_homogenizer.h.
FileName ProgVolumeHomogenizer::fnSetOfImgIn |
Definition at line 42 of file volume_homogenizer.h.
FileName ProgVolumeHomogenizer::fnSetOfImgOut |
Definition at line 42 of file volume_homogenizer.h.
FileName ProgVolumeHomogenizer::fnVol |
Definition at line 42 of file volume_homogenizer.h.
int ProgVolumeHomogenizer::iterations |
Definition at line 56 of file volume_homogenizer.h.
int ProgVolumeHomogenizer::levels |
Definition at line 54 of file volume_homogenizer.h.
MetaDataDb ProgVolumeHomogenizer::mdPartialParticles |
Definition at line 48 of file volume_homogenizer.h.
size_t ProgVolumeHomogenizer::Nprocessors |
Definition at line 50 of file volume_homogenizer.h.
double ProgVolumeHomogenizer::pyr_scale |
Definition at line 52 of file volume_homogenizer.h.
size_t ProgVolumeHomogenizer::rank |
Definition at line 50 of file volume_homogenizer.h.
int ProgVolumeHomogenizer::winSize |
Definition at line 44 of file volume_homogenizer.h.