Xmipp
v3.23.11-Nereus
|
#include <transform_dimred.h>
Public Member Functions | |
void | readParams () |
Read argument from command line. More... | |
void | show () |
Show. More... | |
void | defineParams () |
Define parameters. More... | |
void | produceSideInfo () |
Produce side info. More... | |
void | run () |
Main routine. More... | |
void | insertImageInDataMatrix (size_t index, const MultidimArray< double > &mImg) |
From image to data matrix. More... | |
void | extractImageFromDataMatrix (size_t index, MultidimArray< double > &mImg) |
From image to data matrix. More... | |
double | progCorrelationDistance (size_t i1, size_t i2) |
Correlation distance between two images. More... | |
void | extractRandomProjections () |
Public Member Functions inherited from ProgDimRed | |
ProgDimRed () | |
Empty constructor. More... | |
void | estimateDimension () |
Estimate dimensionality. More... | |
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 | fnRandomSampling |
int | numGrids |
String | distance |
MetaDataVec | SFin |
Mask | mask |
MultidimArray< double > | I1 |
MultidimArray< double > | I2 |
Matrix2D< double > | M |
AlignmentAux | aux |
CorrelationAux | aux2 |
RotationalCorrelationAux | aux3 |
Public Attributes inherited from ProgDimRed | |
FileName | fnIn |
FileName | fnOut |
FileName | fnMapping |
int | outputDim |
String | dimRefMethod |
String | dimEstMethod |
int | kNN |
int | Niter |
double | t |
double | sigma |
bool | global |
Matrix2D< double > | X |
DimRedAlgorithm * | algorithm |
PCA | algorithmPCA |
LTSA | algorithmLTSA |
DiffusionMaps | algorithmDiffusionMaps |
LLTSA | algorithmLLTSA |
LPP | algorithmLPP |
KernelPCA | algorithmKernelPCA |
ProbabilisticPCA | algorithmProbabilisticPCA |
LaplacianEigenmap | algorithmLaplacianEigenmap |
HessianLLE | algorithmHessianLLE |
NPE | algorithmNPE |
SPE | algorithmSPE |
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 |
Analyze cluster parameters.
Definition at line 38 of file transform_dimred.h.
|
virtual |
Define parameters.
Reimplemented from ProgDimRed.
Definition at line 55 of file transform_dimred.cpp.
void ProgTransformDimRed::extractImageFromDataMatrix | ( | size_t | index, |
MultidimArray< double > & | mImg | ||
) |
From image to data matrix.
Definition at line 146 of file transform_dimred.cpp.
void ProgTransformDimRed::extractRandomProjections | ( | ) |
Definition at line 159 of file transform_dimred.cpp.
void ProgTransformDimRed::insertImageInDataMatrix | ( | size_t | index, |
const MultidimArray< double > & | mImg | ||
) |
From image to data matrix.
Definition at line 134 of file transform_dimred.cpp.
|
virtual |
Produce side info.
Reimplemented from ProgDimRed.
Definition at line 85 of file transform_dimred.cpp.
double ProgTransformDimRed::progCorrelationDistance | ( | size_t | i1, |
size_t | i2 | ||
) |
Correlation distance between two images.
Definition at line 71 of file transform_dimred.cpp.
|
virtual |
Read argument from command line.
Reimplemented from ProgDimRed.
Definition at line 30 of file transform_dimred.cpp.
|
virtual |
Main routine.
Reimplemented from XmippProgram.
Definition at line 254 of file transform_dimred.cpp.
|
virtual |
AlignmentAux ProgTransformDimRed::aux |
Definition at line 54 of file transform_dimred.h.
CorrelationAux ProgTransformDimRed::aux2 |
Definition at line 55 of file transform_dimred.h.
RotationalCorrelationAux ProgTransformDimRed::aux3 |
Definition at line 56 of file transform_dimred.h.
String ProgTransformDimRed::distance |
Distance between images
Definition at line 46 of file transform_dimred.h.
FileName ProgTransformDimRed::fnRandomSampling |
Filename selection file containing the images
Definition at line 42 of file transform_dimred.h.
MultidimArray<double> ProgTransformDimRed::I1 |
Definition at line 52 of file transform_dimred.h.
MultidimArray<double> ProgTransformDimRed::I2 |
Definition at line 52 of file transform_dimred.h.
Matrix2D<double> ProgTransformDimRed::M |
Definition at line 53 of file transform_dimred.h.
Mask ProgTransformDimRed::mask |
Definition at line 49 of file transform_dimred.h.
int ProgTransformDimRed::numGrids |
Number of grids for the random sampling
Definition at line 44 of file transform_dimred.h.
MetaDataVec ProgTransformDimRed::SFin |
Definition at line 48 of file transform_dimred.h.