Xmipp  v3.23.11-Nereus
Classes | Macros | Functions | Variables
projection.h File Reference
#include "core/xmipp_filename.h"
#include "core/xmipp_threads.h"
#include "core/matrix1d.h"
#include "grids.h"
Include dependency graph for projection.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Image< T >
 
class  Matrix2D< T >
 
class  MultidimArray< T >
 
class  ParametersProjectionTomography
 
struct  project_thread_params
 

Macros

#define x0   STARTINGX(IMGMATRIX(*proj))
 
#define xF   FINISHINGX(IMGMATRIX(*proj))
 
#define y0   STARTINGY(IMGMATRIX(*proj))
 
#define yF   FINISHINGY(IMGMATRIX(*proj))
 
#define xDim   XSIZE(IMGMATRIX(*proj))
 
#define yDim   YSIZE(IMGMATRIX(*proj))
 

Functions

template<class T >
void project_SimpleGrid (Image< T > *vol, const SimpleGrid *grid, const Basis *basis, Projection *proj, Projection *norm_proj, int FORW, int eq_mode, const Image< int > *VNeq, Matrix2D< double > *M, const MultidimArray< int > *mask=nullptr, double ray_length=-1.0, int thread_id=-1, int num_threads=1)
 
void projectVolume (MultidimArray< double > &V, Projection &P, int Ydim, int Xdim, double rot, double tilt, double psi, const Matrix1D< double > *roffset=nullptr)
 
void projectVolumeOffCentered (MultidimArray< double > &V, Projection &P, int Ydim, int Xdim)
 
void singleWBP (MultidimArray< double > &V, Projection &P)
 
void count_eqs_in_projection (GridVolumeT< int > &GVNeq, const Basis &basis, Projection &read_proj)
 
void project_Crystal_Volume (GridVolume &vol, const Basis &basis, Projection &proj, Projection &norm_proj, int Ydim, int Xdim, double rot, double tilt, double psi, const Matrix1D< double > &shift, const Matrix1D< double > &aint, const Matrix1D< double > &bint, const Matrix2D< double > &D, const Matrix2D< double > &Dinv, const MultidimArray< int > &mask, int FORW, int eq_mode=ARTK)
 
template<class T >
void * project_SimpleGridThread (void *params)
 
template<class T >
void project_GridVolume (GridVolumeT< T > &vol, const Basis &basis, Projection &proj, Projection &norm_proj, int Ydim, int Xdim, double rot, double tilt, double psi, int FORW, int eq_mode, GridVolumeT< int > *GVNeq, Matrix2D< double > *M, const MultidimArray< int > *mask, double ray_length, int threads)
 

Variables

barrier_t project_barrier
 
pthread_mutex_t project_mutex
 
project_thread_paramsproject_threads
 
constexpr int FORWARD = 1
 
constexpr int BACKWARD = 0
 
constexpr int ARTK = 1
 
constexpr int CAVK = 2
 
constexpr int COUNT_EQ = 3
 
constexpr int CAV = 4
 
constexpr int CAVARTK = 5
 
const int ART_PIXEL_SUBSAMPLING = 2