Bsoft  2.1.0
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
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);
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);
25 int bin, Bsymmetry* sym, int part_select, vector<double>& band,
26 double res_lo, double res_hi, double res_polar, int ann_min, int ann_max,
27 double shift_limit, double angle_limit, double edge_radius, int flags);
29  Bsymmetry* sym, int part_select, double res_lo, double res_hi,
30  double shift_limit, int flags);
31 double img_cross_validate(Bimage* p, Bimage* pref, Bimage* pmask, fft_plan planf);
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:1422
Bsymmetry
Definition: symmetry.h:38
planf
fft_plan planf
Definition: bico.cpp:24
project
Bproject * project
Definition: bshow.cpp:33
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:1243
Bimage
General image parameter class.
Definition: Bimage.h:177
Bproject
Definition: mg_processing.h:336
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
part_select
Tcl_Obj * part_select(Bparticle *part, int objc, Tcl_Obj *CONST objv[])
Definition: tcltk_bmg.cpp:563
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
project_determine_orientations2
int project_determine_orientations2(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:1046
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
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