| Bsoft 2.0.5 Bernard's software package

mg_orient.h
Go to the documentation of this file.
1
9 #include "mg_processing.h"
10 #include "rwimg.h"
11
12 #define TEMP_PROJ_FILE "temp_proj.spi"
13
14 // Function prototypes
15 Bimage* project_prepare_2D_references(Bproject* project, long first,
16 long number, int bin=1, int ctf_action=0, double wiener=0.2);
17 Bimage* img_prepare_projections(Bstring& filename, Bstring& mask_file,
18 int bin, Bsymmetry* sym,
19 double theta_step, double phi_step, double side_ang);
20 int project_determine_orientations(Bproject* project, Bimage* proj, Bstring& mask_file,
21 int bin, Bsymmetry* sym, int part_select, vector<double>& band,
22 double res_lo, double res_hi, double res_polar, int ann_min, int ann_max,
23 double shift_limit, double angle_limit, double edge_radius, int flags);
24 int project_determine_origins(Bproject* project, Bimage* proj, int bin,
25 Bsymmetry* sym, int part_select, double res_lo, double res_hi,
26 double shift_limit, int flags);
27 double img_cross_validate(Bimage* p, Bimage* pref, Bimage* pmask, fft_plan planf);
project_determine_orientations
int project_determine_orientations(Bproject *project, Bimage *proj, Bstring &mask_file, int bin, Bsymmetry *sym, int part_select, vector< double > &band, double res_lo, double res_hi, double res_polar, int ann_min, int ann_max, double shift_limit, double angle_limit, double edge_radius, int flags)
Find the orientation and origin of every image in a project.
Definition: mg_orient.cpp:329
planf
fft_plan planf
Definition: bico.cpp:24
project
Bproject * project
Definition: bshow.cpp:31
part_select
Tcl_Obj * part_select(Bparticle *part, int objc, Tcl_Obj *CONST objv[])
Definition: tcltk_bmg.cpp:432
Bimage
General image parameter class.
Definition: Bimage.h:163
fft_plan
fftwf_plan fft_plan
Definition: fft.h:16
Bsymmetry
Definition: symmetry.h:38
Bstring
Definition: Bstring.h:29
img_cross_validate
double img_cross_validate(Bimage *p, Bimage *pref, Bimage *pmask, fft_plan planf)
Rotates and shifts a reference image and calculates a cross-validation coefficient.
Definition: mg_orient.cpp:976
mg_processing.h
Header file for micrograph processing.
rwimg.h
Header file for 2D and 3D image I/O.
img_prepare_projections
Bimage * img_prepare_projections(Bstring &filename, Bstring &mask_file, int bin, Bsymmetry *sym, double theta_step, double phi_step, double side_ang)
Generate projections if a 3D file, otherwise clean projections.
Definition: mg_orient.cpp:156
project_determine_origins
int project_determine_origins(Bproject *project, Bimage *proj, int bin, Bsymmetry *sym, int part_select, double res_lo, double res_hi, double shift_limit, int flags)
Find the origin of every image in a project.
Definition: mg_orient.cpp:797
Bproject
Definition: mg_processing.h:333
project_prepare_2D_references
Bimage * project_prepare_2D_references(Bproject *project, long first, long number, int bin=1, int ctf_action=0, double wiener=0.2)
Prepare reference images from particles.
Definition: mg_orient.cpp:65