EMAN2
|
Gaussian FFT 3D projection. More...
#include <projector.h>
Public Member Functions | |
GaussFFTProjector () | |
EMData * | project3d (EMData *image) const |
Project an 3D image into a 2D image. More... | |
EMData * | backproject3d (EMData *image) const |
Back-project a 2D image into a 3D image. More... | |
void | set_params (const Dict &new_params) |
string | get_name () const |
Get the projector's name. More... | |
string | get_desc () const |
TypeDict | get_param_types () const |
Get processor parameter information in a dictionary. More... | |
Public Member Functions inherited from EMAN::Projector | |
virtual | ~Projector () |
virtual Dict | get_params () const |
Get the projector parameters in a key/value dictionary. More... | |
void | set_params (const Dict &new_params) |
Set the projector parameters using a key/value dictionary. More... | |
Static Public Member Functions | |
static Projector * | NEW () |
Static Public Attributes | |
static const string | NAME = "gauss_fft" |
Private Member Functions | |
bool | interp_ft_3d (int mode, EMData *image, float x, float y, float z, float *data, float gauss_width) const |
Private Attributes | |
float | alt |
float | az |
float | phi |
Additional Inherited Members | |
Protected Attributes inherited from EMAN::Projector | |
Dict | params |
Gaussian FFT 3D projection.
use integer 'mode' to determine the gaussian width and the way to interpolate a point in a 3d complex image. valid mode range: [1,7]. the gauss widths are as follows with mode from 1 to 7:
mode 1: 0; mode 2: 4.0 / (M_PI * M_PI); mode 3: 6.4 / (M_PI * M_PI); mode 4: 8.8 / (M_PI * M_PI); mode 5: 0; mode 6: 10.4 / (M_PI * M_PI); mode 7: 10.4 / (M_PI * M_PI);
Definition at line 146 of file projector.h.
|
inline |
Back-project a 2D image into a 3D image.
Implements EMAN::Projector.
Definition at line 1890 of file projector.cpp.
|
inlinevirtual |
Implements EMAN::Projector.
Definition at line 171 of file projector.h.
|
inlinevirtual |
Get the projector's name.
Each projector is indentified by unique name.
Implements EMAN::Projector.
Definition at line 166 of file projector.h.
References NAME.
|
inlinevirtual |
Get processor parameter information in a dictionary.
Each parameter has one record in the dictionary. Each record contains its name, data-type, and description.
Reimplemented from EMAN::Projector.
Definition at line 181 of file projector.h.
References EMAN::EMObject::INT, EMAN::TypeDict::put(), and EMAN::EMObject::TRANSFORM.
|
private |
Definition at line 216 of file projector.cpp.
References EMAN::Util::agauss(), EMAN::Interp::get_gimx(), EMAN::Interp::hyperg(), EMAN::Util::hypot3sq(), rdata, EMAN::EMData::setup4slice(), sqrt(), x, and y.
Referenced by project3d().
|
inlinestatic |
Project an 3D image into a 2D image.
Implements EMAN::Projector.
Definition at line 69 of file projector.cpp.
References EMAN::Transform::get_mirror(), EMAN::Transform::get_rotation_transform(), EMAN::Transform::get_scale(), EMAN::Transform::get_trans(), EMAN::EMConsts::I2G, EMAN::EMConsts::I3G, EMAN::EMConsts::I4G, EMAN::EMConsts::I5G, ImageDimensionException, interp_ft_3d(), EMAN::Transform::invert(), LOGERR, NullPointerException, EMAN::Projector::params, EMAN::EMData::translate(), x, and y.
|
inline |
Definition at line 158 of file projector.h.
References alt, az, EMAN::Projector::params, phi, and EMAN::Projector::set_params().
|
private |
Definition at line 193 of file projector.h.
Referenced by set_params().
|
private |
Definition at line 193 of file projector.h.
Referenced by set_params().
|
static |
Definition at line 190 of file projector.h.
Referenced by get_name().
|
private |
Definition at line 193 of file projector.h.
Referenced by set_params().