Xmipp
v3.23.11-Nereus
|
#include <movie_estimate_gain.h>
Public Member Functions | |
void | defineParams () |
void | readParams () |
void | show () |
void | run () |
void | produceSideInfo () |
void | computeHistograms (const MultidimArray< double > &Iframe) |
void | normalizeHistograms () |
void | invertHistograms () |
void | constructSmoothHistogramsByColumn (const double *listOfWeights, int width) |
void | constructSmoothHistogramsByRow (const double *listOfWeights, int width) |
void | transformGrayValuesColumn (const MultidimArray< double > &Iframe, MultidimArray< double > &IframeTransformedColumn) |
void | transformGrayValuesRow (const MultidimArray< double > &Iframe, MultidimArray< double > &IframeTransformedRow) |
void | computeTransformedHistograms (const MultidimArray< double > &Iframe) |
size_t | selectBestSigmaByColumn (const MultidimArray< double > &Iframe) |
size_t | selectBestSigmaByRow (const MultidimArray< double > &Iframe) |
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 | fnIn |
FileName | fnRoot |
FileName | fnCorrected |
int | Niter |
double | sigma |
double | maxSigma |
double | sigmaStep |
bool | singleReference |
int | frameStep |
FileName | fnGain |
bool | applyGain |
MetaDataVec | mdIn |
MultidimArray< double > | columnH |
MultidimArray< double > | rowH |
MultidimArray< double > | aSingleColumnH |
MultidimArray< double > | aSingleRowH |
MultidimArray< double > | smoothColumnH |
MultidimArray< double > | smoothRowH |
MultidimArray< double > | sumObs |
Image< double > | IGain |
std::vector< double > | listOfSigmas |
std::vector< double > | listOfWidths |
std::vector< double * > | listOfWeights |
int | Xdim |
int | Ydim |
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 42 of file movie_estimate_gain.h.
void ProgMovieEstimateGain::computeHistograms | ( | const MultidimArray< double > & | Iframe | ) |
Definition at line 264 of file movie_estimate_gain.cpp.
void ProgMovieEstimateGain::computeTransformedHistograms | ( | const MultidimArray< double > & | Iframe | ) |
void ProgMovieEstimateGain::constructSmoothHistogramsByColumn | ( | const double * | listOfWeights, |
int | width | ||
) |
Definition at line 297 of file movie_estimate_gain.cpp.
void ProgMovieEstimateGain::constructSmoothHistogramsByRow | ( | const double * | listOfWeights, |
int | width | ||
) |
Definition at line 343 of file movie_estimate_gain.cpp.
|
virtual |
Function in which the param of each Program are defined.
Reimplemented from XmippProgram.
Definition at line 32 of file movie_estimate_gain.cpp.
void ProgMovieEstimateGain::invertHistograms | ( | ) |
void ProgMovieEstimateGain::normalizeHistograms | ( | ) |
void ProgMovieEstimateGain::produceSideInfo | ( | ) |
Definition at line 67 of file movie_estimate_gain.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 51 of file movie_estimate_gain.cpp.
|
virtual |
This function will be start running the program. it also should be implemented by derived classes.
Reimplemented from XmippProgram.
Definition at line 153 of file movie_estimate_gain.cpp.
size_t ProgMovieEstimateGain::selectBestSigmaByColumn | ( | const MultidimArray< double > & | Iframe | ) |
Definition at line 477 of file movie_estimate_gain.cpp.
size_t ProgMovieEstimateGain::selectBestSigmaByRow | ( | const MultidimArray< double > & | Iframe | ) |
Definition at line 497 of file movie_estimate_gain.cpp.
void ProgMovieEstimateGain::show | ( | ) |
Definition at line 134 of file movie_estimate_gain.cpp.
void ProgMovieEstimateGain::transformGrayValuesColumn | ( | const MultidimArray< double > & | Iframe, |
MultidimArray< double > & | IframeTransformedColumn | ||
) |
Definition at line 388 of file movie_estimate_gain.cpp.
void ProgMovieEstimateGain::transformGrayValuesRow | ( | const MultidimArray< double > & | Iframe, |
MultidimArray< double > & | IframeTransformedRow | ||
) |
Definition at line 424 of file movie_estimate_gain.cpp.
bool ProgMovieEstimateGain::applyGain |
Definition at line 53 of file movie_estimate_gain.h.
MultidimArray<double> ProgMovieEstimateGain::aSingleColumnH |
Definition at line 78 of file movie_estimate_gain.h.
MultidimArray<double> ProgMovieEstimateGain::aSingleRowH |
Definition at line 78 of file movie_estimate_gain.h.
MultidimArray<double> ProgMovieEstimateGain::columnH |
Definition at line 78 of file movie_estimate_gain.h.
FileName ProgMovieEstimateGain::fnCorrected |
Definition at line 47 of file movie_estimate_gain.h.
FileName ProgMovieEstimateGain::fnGain |
Definition at line 52 of file movie_estimate_gain.h.
FileName ProgMovieEstimateGain::fnIn |
Definition at line 45 of file movie_estimate_gain.h.
FileName ProgMovieEstimateGain::fnRoot |
Definition at line 46 of file movie_estimate_gain.h.
int ProgMovieEstimateGain::frameStep |
Definition at line 51 of file movie_estimate_gain.h.
Image<double> ProgMovieEstimateGain::IGain |
Definition at line 80 of file movie_estimate_gain.h.
std::vector<double> ProgMovieEstimateGain::listOfSigmas |
Definition at line 82 of file movie_estimate_gain.h.
std::vector<double *> ProgMovieEstimateGain::listOfWeights |
Definition at line 84 of file movie_estimate_gain.h.
std::vector<double> ProgMovieEstimateGain::listOfWidths |
Definition at line 83 of file movie_estimate_gain.h.
double ProgMovieEstimateGain::maxSigma |
Definition at line 49 of file movie_estimate_gain.h.
MetaDataVec ProgMovieEstimateGain::mdIn |
Definition at line 77 of file movie_estimate_gain.h.
int ProgMovieEstimateGain::Niter |
Definition at line 48 of file movie_estimate_gain.h.
MultidimArray<double> ProgMovieEstimateGain::rowH |
Definition at line 78 of file movie_estimate_gain.h.
double ProgMovieEstimateGain::sigma |
Definition at line 49 of file movie_estimate_gain.h.
double ProgMovieEstimateGain::sigmaStep |
Definition at line 49 of file movie_estimate_gain.h.
bool ProgMovieEstimateGain::singleReference |
Definition at line 50 of file movie_estimate_gain.h.
MultidimArray<double> ProgMovieEstimateGain::smoothColumnH |
Definition at line 79 of file movie_estimate_gain.h.
MultidimArray<double> ProgMovieEstimateGain::smoothRowH |
Definition at line 79 of file movie_estimate_gain.h.
MultidimArray<double> ProgMovieEstimateGain::sumObs |
Definition at line 79 of file movie_estimate_gain.h.
int ProgMovieEstimateGain::Xdim |
Definition at line 85 of file movie_estimate_gain.h.
int ProgMovieEstimateGain::Ydim |
Definition at line 85 of file movie_estimate_gain.h.