32#ifndef eman__projector_h__
33#define eman__projector_h__ 1
173 return "Projections using a Gaussian kernel in Fourier space. Produces artifacts, not recommended.";
195 float z,
float *data,
float gauss_width)
const;
218 return "Fourier-space projection using gridding.";
258 return "Pawel Penczek's optimized real-space projection generation. Minor interpolation artifacts.";
294 int& nn,
IPCube* ipcube=NULL)
const;
321 return "Real-space projection which computes the maximum value along each line projection rather than the sum";
358 return "Simple real-space projection. Most accurate.";
384 return "Fast real space projection generation with Bi-Linear interpolation.";
414 int *
cord,
float *
x,
float *
y)
const;
417 float *
x,
float *
y)
const;
418 int ifix(
float a)
const;
419 void setdm(vector<float>
anglelist,
string const angletype,
float *
dm)
const;
Fast real space projection using Bi-Linear interpolation.
int cb2sph(float *cube, Vec3i volsize, int ri, Vec3i origin, int nnz0, int *ptrs, int *cord, float *sphere) const
EMData * backproject3d(EMData *imagestack) const
Back-project a 2D image into a 3D image.
void setdm(vector< float > anglelist, string const angletype, float *dm) const
int sph2cb(float *sphere, Vec3i volsize, int nray, int ri, int nnz0, int *ptrs, int *cord, float *cube) const
TypeDict get_param_types() const
Get processor parameter information in a dictionary.
EMData * project3d(EMData *vol) const
Project an 3D image into a 2D image.
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 getnnz(Vec3i volsize, int ri, Vec3i origin, int *nray, int *nnz) const
string get_name() const
Get the projector's name.
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.
Fourier gridding projection routine.
EMData * project3d(EMData *image) const
Project an 3D image into a 2D image.
string get_name() const
Get the projector's name.
TypeDict get_param_types() const
Get processor parameter information in a dictionary.
EMData * backproject3d(EMData *image) const
Back-project a 2D image into a 3D image.
Gaussian FFT 3D projection.
string get_name() const
Get the projector's name.
TypeDict get_param_types() const
Get processor parameter information in a dictionary.
EMData * project3d(EMData *image) const
Project an 3D image into a 2D image.
bool interp_ft_3d(int mode, EMData *image, float x, float y, float z, float *data, float gauss_width) const
EMData * backproject3d(EMData *image) const
Back-project a 2D image into a 3D image.
void set_params(const Dict &new_params)
Real-space projection which computes the maximum value along each line projection rather than a sum.
EMData * project3d(EMData *image) const
Project an 3D image into a 2D image.
TypeDict get_param_types() const
Get processor parameter information in a dictionary.
string get_name() const
Get the projector's name.
EMData * backproject3d(EMData *image) const
Back-project a 2D image into a 3D image.
Pawel Penczek's optimized projection routine.
string get_name() const
Get the projector's name.
EMData * backproject3d(EMData *image) const
Back-project a 2D image into a 3D image.
TypeDict get_param_types() const
Get processor parameter information in a dictionary.
EMData * project3d(EMData *image) const
Project an 3D image into a 2D image.
void prepcubes(int nx, int ny, int nz, int ri, Vec3i origin, int &nn, IPCube *ipcube=NULL) const
Projector class defines a method to generate 2D projections from a 3D model.
virtual string get_name() const =0
Get the projector's name.
void set_params(const Dict &new_params)
Set the projector parameters using a key/value dictionary.
virtual TypeDict get_param_types() const
Get processor parameter information in a dictionary.
virtual EMData * backproject3d(EMData *image) const =0
Back-project a 2D image into a 3D image.
virtual Dict get_params() const
Get the projector parameters in a key/value dictionary.
virtual string get_desc() const =0
virtual EMData * project3d(EMData *image) const =0
Project an 3D image into a 2D image.
Fast real-space 3D projection.
string get_name() const
Get the projector's name.
EMData * project3d(EMData *image) const
Project an 3D image into a 2D image.
TypeDict get_param_types() const
Get processor parameter information in a dictionary.
EMData * backproject3d(EMData *image) const
Back-project a 2D image into a 3D image.
TypeDict is a dictionary to store <string, EMObject::ObjectType> pair.
void put(const string &key, EMObject::ObjectType o, const string &desc="")
map< string, vector< string > > dump_projectors_list()