| Bsoft 2.0.5 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, 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);
21 Bparticle* project_reconstruction_partlist(Bproject* project,
22 int num_select, int bootstrap);
23 Bimage* img_reconstruction_sum_weigh(Bimage** pacc, int imap, int nmaps, int nthreads, double hi_res);
24 long project_single_particle_reconstruction(Bproject* project,
25 Bstring& maskfile, Bsymmetry* sym,
26 int num_select, double hi_res, 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);
31 Bimage* project_reconstruct_2D_fast(Bproject* project) ;
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);
34 Bimage* project_back_projection(Bproject* project, long num_select,
35 Vector3<long> map_size, Vector3<double> sam, double scale,
36 double resolution, fft_plan planf, fft_plan planb);
37 Bimage* img_backprojection_accumulate(Bimage** pacc, int imap,
38 int nmaps, int nthreads);
39
40
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:628
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:1527
planb
fft_plan planb
Definition: bico.cpp:24
symmetry.h
Header file for general symmetry functions.
planf
fft_plan planf
Definition: bico.cpp:24
project_reconstruct_2D_fast
Bimage * project_reconstruct_2D_fast(Bproject *project)
Definition: mg_reconstruct.cpp:1132
project
Bproject * project
Definition: bshow.cpp:31
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:1235
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:693
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:822
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:37
Bimage
General image parameter class.
Definition: Bimage.h:163
fft_plan
fftwf_plan fft_plan
Definition: fft.h:16
img_backprojection_accumulate
Bimage * img_backprojection_accumulate(Bimage **pacc, int imap, int nmaps, int nthreads)
Accumulates multiple backprojections.
Definition: mg_reconstruct.cpp:1642
project_single_particle_reconstruction
long project_single_particle_reconstruction(Bproject *project, Bstring &maskfile, Bsymmetry *sym, int num_select, double hi_res, 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:489
Bsymmetry
Definition: symmetry.h:38
Bparticle
Definition: mg_processing.h:89
Bstring
Definition: Bstring.h:29
Vector3< long >
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:315
mg_processing.h
Header file for micrograph processing.
rwimg.h
Header file for 2D and 3D image I/O.
particle_reconstruct
Bimage * particle_reconstruct(Bparticle *partlist, Bsymmetry *sym, int sym_mode, double hi_res, 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:99
fft.h
General FFT for n-dimensional data.
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:236
Bproject
Definition: mg_processing.h:333