EMAN2
|
Go to the source code of this file.
Functions | |
void | process_inplace (const string &processorname, const Dict ¶ms=Dict()) |
This file is a part of "emdata.h", to use functions in this file, you should "#include "emdata.h", NEVER directly include this file. More... | |
void | process_inplace (Processor *p) |
Call the process_inplace with an instance od Processor, usually this instancecan be get by (in Python) Processors.get("name", {'k':v, 'k':v}) More... | |
EMData * | process (const string &processorname, const Dict ¶ms=Dict()) const |
Apply a processor with its parameters on a copy of this image, return result as a a new image. More... | |
EMData * | process (Processor *p) const |
Call the process with an instance od Processor, usually this instance can be get by (in Python) Processors.get("name", {'k':v, 'k':v}) More... | |
float | cmp (const string &cmpname, EMData *with, const Dict ¶ms=Dict()) |
Compare this image with another image. More... | |
EMData * | align (const string &aligner_name, EMData *to_img, const Dict ¶ms=Dict(), const string &cmp_name="", const Dict &cmp_params=Dict()) |
Align this image with another image and return the result image. More... | |
vector< Dict > | xform_align_nbest (const string &aligner_name, EMData *to_img, const Dict ¶ms=Dict(), const unsigned int nsoln=1, const string &cmp_name="dot", const Dict &cmp_params=Dict()) |
Align this image with another image, return the parameters of the "n best" solutions See Aligner::xform_align_nbest for more comments. More... | |
EMData * | project (const string &projector_name, const Dict ¶ms=Dict()) |
Calculate the projection of this image and return the result. More... | |
EMData * | project (const string &projector_name, const Transform &t3d) |
Calculate the projection of this image and return the result. More... | |
EMData * | backproject (const string &projector_name, const Dict ¶ms=Dict()) |
Calculate the backprojection of this image (stack) and return the result. More... | |
EMData * align | ( | const string & | aligner_name, |
EMData * | to_img, | ||
const Dict & | params = Dict() , |
||
const string & | cmp_name = "" , |
||
const Dict & | cmp_params = Dict() |
||
) |
Align this image with another image and return the result image.
aligner_name | Alignment algorithm name. |
to_img | The image 'this' image aligns to. |
params | Alignment algorithm parameters in a keyed dictionary. |
cmp_name | Comparison algorithm used in alignment. |
cmp_params | Parameter dictionary for comparison algorithm. |
NotExistingObjectError | If the alignment algorithm doesn't exist. |
EMData * backproject | ( | const string & | projector_name, |
const Dict & | params = Dict() |
||
) |
Calculate the backprojection of this image (stack) and return the result.
projector_name | Projection algorithm name. (Only "pawel" and "chao" have been implemented now). |
params | Projection Algorithm parameters. |
NotExistingObjectError | If the projection algorithm doesn't exist. |
float cmp | ( | const string & | cmpname, |
EMData * | with, | ||
const Dict & | params = Dict() |
||
) |
Compare this image with another image.
cmpname | Comparison algorithm name. |
with | The image you want to compare to. |
params | Comparison parameters in a keyed dictionary. |
NotExistingObjectError | If the comparison algorithm doesn't exist. |
EMData * process | ( | const string & | processorname, |
const Dict & | params = Dict() |
||
) | const |
Apply a processor with its parameters on a copy of this image, return result as a a new image.
The returned image may or may not be the same size as this image.
processorname | Processor Name. |
params | Processor parameters in a keyed dictionary. |
NotExistingObjectError | If the processor doesn't exist. |
Referenced by EMAN::EMData::calc_ccf_masked().
EMData * process | ( | Processor * | p | ) | const |
Call the process with an instance od Processor, usually this instance can be get by (in Python) Processors.get("name", {'k':v, 'k':v})
p | the processor pointer |
void process_inplace | ( | const string & | processorname, |
const Dict & | params = Dict() |
||
) |
This file is a part of "emdata.h", to use functions in this file, you should "#include "emdata.h", NEVER directly include this file.
Apply a processor with its parameters on this image.
processorname | Processor Name. |
params | Processor parameters in a keyed dictionary. |
NotExistingObjectError | If the processor doesn't exist. |
Referenced by EMAN::EMData::rotate_180(), EMAN::EMData::transform(), and EMAN::EMData::translate().
void process_inplace | ( | Processor * | p | ) |
Call the process_inplace with an instance od Processor, usually this instancecan be get by (in Python) Processors.get("name", {'k':v, 'k':v})
p | the processor pointer |
EMData * project | ( | const string & | projector_name, |
const Dict & | params = Dict() |
||
) |
Calculate the projection of this image and return the result.
projector_name | Projection algorithm name. |
params | Projection Algorithm parameters. |
NotExistingObjectError | If the projection algorithm doesn't exist. |
EMData * project | ( | const string & | projector_name, |
const Transform & | t3d | ||
) |
Calculate the projection of this image and return the result.
projector_name | Projection algorithm name. |
t3d | Transform object used to do projection. |
NotExistingObjectError | If the projection algorithm doesn't exist. |
vector< Dict > xform_align_nbest | ( | const string & | aligner_name, |
EMData * | to_img, | ||
const Dict & | params = Dict() , |
||
const unsigned int | nsoln = 1 , |
||
const string & | cmp_name = "dot" , |
||
const Dict & | cmp_params = Dict() |
||
) |
Align this image with another image, return the parameters of the "n best" solutions See Aligner::xform_align_nbest for more comments.
aligner_name | Alignment algorithm name. |
to_img | The image 'this' image aligns to. |
params | Alignment algorithm parameters in a keyed dictionary. |
nsoln | the number of solutions you want to receive in the return vector. |
cmp_name | Comparison algorithm used in alignment. |
cmp_params | Parameter dictionary for comparison algorithm. |
NotExistingObjectError | If the alignment algorithm doesn't exist. |