Bsoft  2.1.0
Bernard's software package
mg_reconstruct.h
Go to the documentation of this file.
1 
9 #include "mg_processing.h"
10 #include "rwimg.h"
11 #include "fft.h"
12 #include "symmetry.h"
13 
14 // Function prototypes
15 int part_ft_size(int xsize, double scale, int pad_factor);
16 Bimage* particle_reconstruct(Bparticle* partlist, Bsymmetry* sym, int sym_mode,
17  double hi_res, Vector3<double> scale, Vector3<long> size,
18  int ft_size, fft_plan plan, int interp_type=0,
19  int ctf_action=0, double wiener=0.2, int twoD_flag=0,
20  int bootstrap=0, int first=0);
22  int num_select, int bootstrap);
23 Bimage* img_reconstruction_sum_weigh(Bimage** pacc, int imap, int nmaps, int nthreads, double hi_res);
25  Bstring& maskfile, Bsymmetry* sym,
26  int num_select, double hi_res, Vector3<double> scale, Vector3<long> size,
27  int pad_factor, int interp_type, int ctf_action, double wiener, int flags);
28 Vector3<long> project_set_reconstruction_size(Bproject* project, double scale, int twoD_flag);
29 int project_configure_for_reconstruction(Bproject* project, Bstring classes, long& nmaps, long& nthreads);
30 Bimage* project_reconstruct_2D(Bproject* project, int transform_output);
32 Bimage* project_reconstruct_3D(Bproject* project, long selnum, int calcfom, Vector3<long> size);
33 Bimage* project_reconstruct_3D(Bproject* project, long selnum, Vector3<long> size, double resolution);
35  Vector3<long> map_size, Vector3<double> sam, double scale,
36  double resolution, fft_plan planf, fft_plan planb);
38  int nmaps, int nthreads);
39 
40 
project_reconstruct_2D
Bimage * project_reconstruct_2D(Bproject *project, int transform_output)
Creates a 2D reconstruction from the images in a multi-image file.
Definition: mg_reconstruct.cpp:850
Bstring
Definition: Bstring.h:29
Bparticle
Definition: mg_processing.h:90
symmetry.h
Header file for general symmetry functions.
Vector3< double >
part_ft_size
int part_ft_size(int xsize, double scale, int pad_factor)
Sets the Fourier transform size for 2D particle images for reconstruction.
Definition: mg_reconstruct.cpp:38
Bsymmetry
Definition: symmetry.h:38
planf
fft_plan planf
Definition: bico.cpp:24
project
Bproject * project
Definition: bshow.cpp:33
project_configure_for_reconstruction
int project_configure_for_reconstruction(Bproject *project, Bstring classes, long &nmaps, long &nthreads)
Sets up the particle selection for reconstruction.
Definition: mg_reconstruct.cpp:723
project_reconstruction_partlist
Bparticle * project_reconstruction_partlist(Bproject *project, int num_select, int bootstrap)
List of particle images for reciprocal space reconstruction.
Definition: mg_reconstruct.cpp:246
particle_reconstruct
Bimage * particle_reconstruct(Bparticle *partlist, Bsymmetry *sym, int sym_mode, double hi_res, Vector3< double > scale, Vector3< long > size, int ft_size, fft_plan plan, int interp_type=0, int ctf_action=0, double wiener=0.2, int twoD_flag=0, int bootstrap=0, int first=0)
Reciprocal space reconstruction from 2D particle images.
Definition: mg_reconstruct.cpp:100
img_reconstruction_sum_weigh
Bimage * img_reconstruction_sum_weigh(Bimage **pacc, int imap, int nmaps, int nthreads, double hi_res)
Combines and weighs a map from several partial maps and weight sets.
Definition: mg_reconstruct.cpp:331
project_reconstruct_2D_fast
Bimage * project_reconstruct_2D_fast(Bproject *project)
Definition: mg_reconstruct.cpp:1160
Bimage
General image parameter class.
Definition: Bimage.h:177
Bproject
Definition: mg_processing.h:336
project_back_projection
Bimage * project_back_projection(Bproject *project, long num_select, Vector3< long > map_size, Vector3< double > sam, double scale, double resolution, fft_plan planf, fft_plan planb)
Back projects a set of 2D images into a 3D volume.
Definition: mg_reconstruct.cpp:1568
rwimg.h
Header file for 2D and 3D image I/O.
mg_processing.h
Header file for micrograph processing.
fft_plan
fftwf_plan fft_plan
Definition: fft.h:20
project_single_particle_reconstruction
long project_single_particle_reconstruction(Bproject *project, Bstring &maskfile, Bsymmetry *sym, int num_select, double hi_res, Vector3< double > scale, Vector3< long > size, int pad_factor, int interp_type, int ctf_action, double wiener, int flags)
Reciprocal space reconstruction from the images in a multi-image file.
Definition: mg_reconstruct.cpp:519
project_reconstruct_3D
Bimage * project_reconstruct_3D(Bproject *project, long selnum, int calcfom, Vector3< long > size)
Transforms 3D maps and calculates an average.
Definition: mg_reconstruct.cpp:1263
fft.h
General FFT for n-dimensional data.
img_backprojection_accumulate
Bimage * img_backprojection_accumulate(Bimage **pacc, int imap, int nmaps, int nthreads)
Accumulates multiple backprojections.
Definition: mg_reconstruct.cpp:1683
planb
fft_plan planb
Definition: bico.cpp:24
project_set_reconstruction_size
Vector3< long > project_set_reconstruction_size(Bproject *project, double scale, int twoD_flag)
Sets the reconstruction size for reconstruction from 2D particle images.
Definition: mg_reconstruct.cpp:658