EMAN2
|
Pawel Penczek's optimized projection routine. More...
#include <projector.h>
Classes | |
struct | IPCube |
Public Member Functions | |
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... | |
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 = "pawel" |
Private Member Functions | |
void | prepcubes (int nx, int ny, int nz, int ri, Vec3i origin, int &nn, IPCube *ipcube=NULL) const |
Additional Inherited Members | |
Protected Attributes inherited from EMAN::Projector | |
Dict | params |
Pawel Penczek's optimized projection routine.
Definition at line 245 of file projector.h.
Back-project a 2D image into a 3D image.
Implements EMAN::Projector.
Definition at line 2013 of file projector.cpp.
References anglelist, EMAN::Transform::at(), EMDeleteArray(), EMAN::PawelProjector::IPCube::end, EMAN::Util::get_min(), EMAN::Transform::get_rotation(), EMAN::Dict::has_key(), images, EMAN::PawelProjector::IPCube::loc, LOGERR, NullPointerException, EMAN::Projector::params, prepcubes(), and EMAN::PawelProjector::IPCube::start.
|
inlinevirtual |
Implements EMAN::Projector.
Definition at line 256 of file projector.h.
|
inlinevirtual |
Get the projector's name.
Each projector is indentified by unique name.
Implements EMAN::Projector.
Definition at line 251 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 266 of file projector.h.
References EMAN::EMObject::FLOAT, EMAN::EMObject::FLOATARRAY, EMAN::EMObject::INT, EMAN::TypeDict::put(), EMAN::EMObject::STRING, and EMAN::EMObject::TRANSFORM.
|
inlinestatic |
Definition at line 261 of file projector.h.
|
private |
Definition at line 559 of file projector.cpp.
References EMAN::PawelProjector::IPCube::end, EMAN::PawelProjector::IPCube::loc, and EMAN::PawelProjector::IPCube::start.
Referenced by backproject3d(), and project3d().
Project an 3D image into a 2D image.
Implements EMAN::Projector.
Definition at line 602 of file projector.cpp.
References EMDeleteArray(), EMAN::PawelProjector::IPCube::end, EMAN::Transform::get_matrix3_row(), EMAN::Util::get_max(), EMAN::Dict::has_key(), EMAN::PawelProjector::IPCube::loc, LOGERR, EMAN::Projector::params, and prepcubes().
|
static |
Definition at line 281 of file projector.h.
Referenced by get_name().