Xmipp
v3.23.11-Nereus
|
#include <resolution_ibw.h>
Public Member Functions | |
void | readParams () |
void | defineParams () |
void | show () const |
void | run () |
void | edgeWidth (const MultidimArray< double > &volCoeffs, const MultidimArray< double > &edges, MultidimArray< double > &widths, const Matrix1D< double > &dir, double step=0.25) const |
double | calculateIBW (MultidimArray< double > &widths) const |
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 | 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 |
Input volume. More... | |
FileName | fnOut |
Output volume with local widths. More... | |
Image< double > | V |
Volume to evaluate. More... | |
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 |
Parameter class for the resolution IBW program. The program is based on P. Marziliano, F. Dufaux, S. Winkler, T. Ebrahimi. Perceptual blur and ringing metrics: application to JPEG2000. Signal Processing: Image Communication, 19: 163-172 (2004)
Definition at line 42 of file resolution_ibw.h.
double ProgResolutionIBW::calculateIBW | ( | MultidimArray< double > & | widths | ) | const |
Calculate the inverse border width. The calculation is only performed at the border pixels.
Definition at line 307 of file resolution_ibw.cpp.
|
virtual |
Define parameters.
Reimplemented from XmippProgram.
Definition at line 39 of file resolution_ibw.cpp.
void ProgResolutionIBW::edgeWidth | ( | const MultidimArray< double > & | volCoeffs, |
const MultidimArray< double > & | edges, | ||
MultidimArray< double > & | widths, | ||
const Matrix1D< double > & | dir, | ||
double | step = 0.25 |
||
) | const |
Compute the edge width at the edge pixels in a given direction. step controls how fine is the search of the border width.
Definition at line 205 of file resolution_ibw.cpp.
|
virtual |
Read from a command line.
Reimplemented from XmippProgram.
Definition at line 32 of file resolution_ibw.cpp.
|
virtual |
Compute the correlation for all micrographs
Reimplemented from XmippProgram.
Definition at line 58 of file resolution_ibw.cpp.
|
virtual |
Show parameters.
Reimplemented from XmippProgram.
Definition at line 47 of file resolution_ibw.cpp.
FileName ProgResolutionIBW::fnOut |
Output volume with local widths.
Definition at line 49 of file resolution_ibw.h.
FileName ProgResolutionIBW::fnVol |
Input volume.
Definition at line 46 of file resolution_ibw.h.
Image<double> ProgResolutionIBW::V |
Volume to evaluate.
Definition at line 53 of file resolution_ibw.h.