EMAN2
|
Fast real space projection using Bi-Linear interpolation. More...
#include <projector.h>
Public Member Functions | |
EMData * | project3d (EMData *vol) const |
Project an 3D image into a 2D image. More... | |
EMData * | backproject3d (EMData *imagestack) 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 = "chao" |
Private Member Functions | |
int | getnnz (Vec3i volsize, int ri, Vec3i origin, int *nray, int *nnz) const |
int | cb2sph (float *cube, Vec3i volsize, int ri, Vec3i origin, int nnz0, int *ptrs, int *cord, float *sphere) const |
int | sph2cb (float *sphere, Vec3i volsize, int nray, int ri, int nnz0, int *ptrs, int *cord, float *cube) const |
int | fwdpj3 (Vec3i volsize, int nray, int nnz, float *dm, Vec3i origin, int ri, int *ptrs, int *cord, float *x, float *y) const |
int | bckpj3 (Vec3i volsize, int nray, int nnz, float *dm, Vec3i origin, int ri, int *ptrs, int *cord, float *x, float *y) const |
int | ifix (float a) const |
void | setdm (vector< float > anglelist, string const angletype, float *dm) const |
Additional Inherited Members | |
Protected Attributes inherited from EMAN::Projector | |
Dict | params |
Fast real space projection using Bi-Linear interpolation.
(C. Yang)
Definition at line 371 of file projector.h.
Back-project a 2D image into a 3D image.
Implements EMAN::Projector.
Definition at line 1767 of file projector.cpp.
References anglelist, bckpj3(), cb2sph(), cord, cube, dm, EMDeleteArray(), EMAN::Util::get_min(), EMAN::Transform::get_rotation(), getnnz(), EMAN::Dict::has_key(), images, LOGERR, NullPointerException, EMAN::Projector::params, ptrs, setdm(), sph2cb(), and sphere.
|
private |
Definition at line 1520 of file projector.cpp.
References cord, dm, ifix(), ptrs, x, and y.
Referenced by backproject3d().
|
private |
Definition at line 1350 of file projector.cpp.
References cord, cube, ptrs, and sphere.
Referenced by backproject3d(), and project3d().
|
private |
Definition at line 1444 of file projector.cpp.
References cord, dm, ifix(), ptrs, x, and y.
Referenced by project3d().
|
inlinevirtual |
Implements EMAN::Projector.
Definition at line 382 of file projector.h.
|
inlinevirtual |
Get the projector's name.
Each projector is indentified by unique name.
Implements EMAN::Projector.
Definition at line 377 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 392 of file projector.h.
References EMAN::EMObject::FLOAT, EMAN::EMObject::FLOATARRAY, EMAN::EMObject::INT, EMAN::TypeDict::put(), and EMAN::EMObject::TRANSFORM.
|
private |
|
private |
Definition at line 1593 of file projector.cpp.
|
inlinestatic |
Definition at line 387 of file projector.h.
Project an 3D image into a 2D image.
Implements EMAN::Projector.
Definition at line 1648 of file projector.cpp.
References anglelist, cb2sph(), cord, cube, dm, EMDeleteArray(), fwdpj3(), EMAN::Util::get_min(), EMAN::Transform::get_rotation(), getnnz(), EMAN::Dict::has_key(), images, LOGERR, NullPointerException, EMAN::Projector::params, ptrs, setdm(), and sphere.
|
private |
|
private |
Definition at line 1409 of file projector.cpp.
References cord, cube, ptrs, and sphere.
Referenced by backproject3d().
|
static |
Definition at line 404 of file projector.h.
Referenced by get_name().