99 result = c->
cmp(
this, with);
113 const Dict & params,
const string & cmp_name,
const Dict& cmp_params)
119 if (cmp_name ==
"") {
120 result = a->
align(
this, to_img);
123 result = a->
align(
this, to_img, cmp_name, cmp_params);
137 const Dict & params,
const unsigned int nsoln,
const string & cmp_name,
138 const Dict& cmp_params)
Aligner class defines image alignment method.
virtual vector< Dict > xform_align_nbest(EMData *this_img, EMData *to_img, const unsigned int nsoln, const string &cmp_name, const Dict &cmp_params) const
This function first added in the context of the 3D aligners used by e2tomohunter: which wants the n b...
virtual EMData * align(EMData *this_img, EMData *to_img) const =0
Cmp class defines image comparison method.
virtual float cmp(EMData *image, EMData *with) const =0
To compare 'image' with another image passed in through its parameters.
Dict is a dictionary to store <string, EMObject> pair.
EMData stores an image's data and defines core image processing routines.
Factory is used to store objects to create new instances.
Typical usage of Processors are as follows:
virtual EMData * process(const EMData *const image)
To proccess an image out-of-place.
virtual void process_inplace(EMData *image)=0
To process an image in-place.
Projector class defines a method to generate 2D projections from a 3D model.
virtual EMData * backproject3d(EMData *image) const =0
Back-project a 2D image into a 3D image.
virtual EMData * project3d(EMData *image) const =0
Project an 3D image into a 2D image.
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::xfo...
EMData * backproject(const string &projector_name, const Dict ¶ms=Dict())
Calculate the backprojection of this image (stack) and return the result.
float cmp(const string &cmpname, EMData *with, const Dict ¶ms=Dict())
Compare this image with another image.
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.
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....
EMData * project(const string &projector_name, const Dict ¶ms=Dict())
Calculate the projection of this image and return the result.
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.