Xmipp
v3.23.11-Nereus
|
#include <volume_halves_restoration.h>
Public Member Functions | |
void | readParams () |
Read argument from command line. More... | |
void | show () |
Show. More... | |
void | defineParams () |
Define parameters. More... | |
void | run () |
Run. More... | |
void | produceSideInfo () |
Side information. More... | |
void | estimateS () |
Different estimates. More... | |
void | deconvolveS () |
void | convolveS () |
void | optimizeSigma () |
void | significanceRealSpace (const MultidimArray< double > &V1, MultidimArray< double > &V1r) |
void | filterBank () |
void | filterBand (const MultidimArray< std::complex< double > > &Vin, FourierTransformer &transformer, double w) |
void | evaluateDifference () |
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 | fnV1 |
FileName | fnV2 |
FileName | fnRoot |
int | NiterReal |
int | NiterFourier |
double | bankStep |
double | bankOverlap |
double | sigma0 |
int | NiterDiff |
double | Kdiff |
double | lambda |
int | weightFun |
double | weightPower |
Image< double > | V1 |
Image< double > | V2 |
Image< double > | V1r |
Image< double > | V2r |
Image< double > | S |
Image< double > | N |
Mask | mask |
MultidimArray< int > * | pMask |
size_t | pMaskSize |
FourierTransformer | transformer |
FourierTransformer | transformer1 |
FourierTransformer | transformer2 |
MultidimArray< std::complex< double > > | fVol |
MultidimArray< std::complex< double > > | fV1r |
MultidimArray< std::complex< double > > | fV2r |
MultidimArray< double > | R2 |
CDF | cdfS |
double | sigmaConv1 |
double | sigmaConv2 |
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 |
Volume restoration Parameters.
Definition at line 39 of file volume_halves_restoration.h.
void ProgVolumeHalvesRestoration::convolveS | ( | ) |
Definition at line 276 of file volume_halves_restoration.cpp.
void ProgVolumeHalvesRestoration::deconvolveS | ( | ) |
Definition at line 249 of file volume_halves_restoration.cpp.
|
virtual |
Define parameters.
Reimplemented from XmippProgram.
Definition at line 73 of file volume_halves_restoration.cpp.
void ProgVolumeHalvesRestoration::estimateS | ( | ) |
Different estimates.
Definition at line 171 of file volume_halves_restoration.cpp.
void ProgVolumeHalvesRestoration::evaluateDifference | ( | ) |
Definition at line 454 of file volume_halves_restoration.cpp.
void ProgVolumeHalvesRestoration::filterBand | ( | const MultidimArray< std::complex< double > > & | Vin, |
FourierTransformer & | transformer, | ||
double | w | ||
) |
Definition at line 336 of file volume_halves_restoration.cpp.
void ProgVolumeHalvesRestoration::filterBank | ( | ) |
Definition at line 353 of file volume_halves_restoration.cpp.
void ProgVolumeHalvesRestoration::optimizeSigma | ( | ) |
Definition at line 322 of file volume_halves_restoration.cpp.
void ProgVolumeHalvesRestoration::produceSideInfo | ( | ) |
Side information.
Definition at line 88 of file volume_halves_restoration.cpp.
|
virtual |
Read argument from command line.
Reimplemented from XmippProgram.
Definition at line 30 of file volume_halves_restoration.cpp.
|
virtual |
Run.
Reimplemented from XmippProgram.
Definition at line 122 of file volume_halves_restoration.cpp.
void ProgVolumeHalvesRestoration::show | ( | ) |
Show.
Definition at line 50 of file volume_halves_restoration.cpp.
void ProgVolumeHalvesRestoration::significanceRealSpace | ( | const MultidimArray< double > & | V1, |
MultidimArray< double > & | V1r | ||
) |
Definition at line 218 of file volume_halves_restoration.cpp.
double ProgVolumeHalvesRestoration::bankOverlap |
Definition at line 49 of file volume_halves_restoration.h.
double ProgVolumeHalvesRestoration::bankStep |
FilterBank
Definition at line 49 of file volume_halves_restoration.h.
CDF ProgVolumeHalvesRestoration::cdfS |
Definition at line 71 of file volume_halves_restoration.h.
FileName ProgVolumeHalvesRestoration::fnRoot |
Definition at line 43 of file volume_halves_restoration.h.
FileName ProgVolumeHalvesRestoration::fnV1 |
Filename of the two halves and the output root
Definition at line 43 of file volume_halves_restoration.h.
FileName ProgVolumeHalvesRestoration::fnV2 |
Definition at line 43 of file volume_halves_restoration.h.
MultidimArray< std::complex<double> > ProgVolumeHalvesRestoration::fV1r |
Definition at line 68 of file volume_halves_restoration.h.
MultidimArray< std::complex<double> > ProgVolumeHalvesRestoration::fV2r |
Definition at line 68 of file volume_halves_restoration.h.
MultidimArray< std::complex<double> > ProgVolumeHalvesRestoration::fVol |
Definition at line 68 of file volume_halves_restoration.h.
double ProgVolumeHalvesRestoration::Kdiff |
K diff
Definition at line 55 of file volume_halves_restoration.h.
double ProgVolumeHalvesRestoration::lambda |
Laplacian regularization
Definition at line 57 of file volume_halves_restoration.h.
Mask ProgVolumeHalvesRestoration::mask |
Definition at line 64 of file volume_halves_restoration.h.
Image<double> ProgVolumeHalvesRestoration::N |
Definition at line 63 of file volume_halves_restoration.h.
int ProgVolumeHalvesRestoration::NiterDiff |
Number of iterations of real space difference
Definition at line 53 of file volume_halves_restoration.h.
int ProgVolumeHalvesRestoration::NiterFourier |
Number of iterations of Fourier space deconvolution
Definition at line 47 of file volume_halves_restoration.h.
int ProgVolumeHalvesRestoration::NiterReal |
Number of iterations of real space denoising
Definition at line 45 of file volume_halves_restoration.h.
MultidimArray<int>* ProgVolumeHalvesRestoration::pMask |
Definition at line 65 of file volume_halves_restoration.h.
size_t ProgVolumeHalvesRestoration::pMaskSize |
Definition at line 66 of file volume_halves_restoration.h.
MultidimArray<double> ProgVolumeHalvesRestoration::R2 |
Definition at line 69 of file volume_halves_restoration.h.
Image<double> ProgVolumeHalvesRestoration::S |
Definition at line 63 of file volume_halves_restoration.h.
double ProgVolumeHalvesRestoration::sigma0 |
Initial sigma
Definition at line 51 of file volume_halves_restoration.h.
double ProgVolumeHalvesRestoration::sigmaConv1 |
Definition at line 72 of file volume_halves_restoration.h.
double ProgVolumeHalvesRestoration::sigmaConv2 |
Definition at line 72 of file volume_halves_restoration.h.
FourierTransformer ProgVolumeHalvesRestoration::transformer |
Definition at line 67 of file volume_halves_restoration.h.
FourierTransformer ProgVolumeHalvesRestoration::transformer1 |
Definition at line 67 of file volume_halves_restoration.h.
FourierTransformer ProgVolumeHalvesRestoration::transformer2 |
Definition at line 67 of file volume_halves_restoration.h.
Image<double> ProgVolumeHalvesRestoration::V1 |
Definition at line 63 of file volume_halves_restoration.h.
Image<double> ProgVolumeHalvesRestoration::V1r |
Definition at line 63 of file volume_halves_restoration.h.
Image<double> ProgVolumeHalvesRestoration::V2 |
Definition at line 63 of file volume_halves_restoration.h.
Image<double> ProgVolumeHalvesRestoration::V2r |
Definition at line 63 of file volume_halves_restoration.h.
int ProgVolumeHalvesRestoration::weightFun |
Weight function
Definition at line 59 of file volume_halves_restoration.h.
double ProgVolumeHalvesRestoration::weightPower |
Weight power
Definition at line 61 of file volume_halves_restoration.h.