Bsoft  2.1.0
Bernard's software package
mg_helix.h
Go to the documentation of this file.
1 
9 #include "mg_processing.h"
10 #include "rwimg.h"
11 
12 // Function prototypes
13 double* filament_profile(Bfilnode* fnode, Bimage* p, long img_num, int id, double width, long& n);
14 double filaments_center(Bfilament* fillist, Bimage* p, long img_num, int filament_width);
15 double project_center_filaments(Bproject* project, int filament_width);
16 int project_filament_powerspectrum(Bproject* project, int pad, int rotated, Bstring& path);
17 Bimage* project_filament_density(Bproject* project, int filament_width);
18 int mg_generate_layer_lines(Bmicrograph* mg, int rad_lim);
19 int img_mask_layer_lines(Bimage* p, Blayerline* layer_line, float helix_axis, float width);
20 double* img_extract_layer_line(Bimage* p, Blayerline* line, float helix_axis, int length);
22 
Bmicrograph
Definition: mg_processing.h:201
project_filament_density
Bimage * project_filament_density(Bproject *project, int filament_width)
Extracts filament images from micrographs defined in a project and estimates their density per length...
Definition: mg_helix.cpp:375
Bfilament
Definition: mg_processing.h:129
Bstring
Definition: Bstring.h:29
length
double length(vector< T > v)
Definition: Vector3.h:530
mg_generate_layer_lines
int mg_generate_layer_lines(Bmicrograph *mg, int rad_lim)
Generates layer lines given the unit cell vectors.
Definition: mg_helix.cpp:456
project
Bproject * project
Definition: bshow.cpp:33
project_center_filaments
double project_center_filaments(Bproject *project, int filament_width)
Centers filament nodes in all micrographs in a project.
Definition: mg_helix.cpp:221
img_mask_layer_lines
int img_mask_layer_lines(Bimage *p, Blayerline *layer_line, float helix_axis, float width)
Masks the image using the list of layer lines.
Definition: mg_helix.cpp:499
Bimage
General image parameter class.
Definition: Bimage.h:177
Bproject
Definition: mg_processing.h:336
show
int show(0)
img_extract_layer_line
double * img_extract_layer_line(Bimage *p, Blayerline *line, float helix_axis, int length)
Extracts one layer line from an image.
Definition: mg_helix.cpp:551
rwimg.h
Header file for 2D and 3D image I/O.
mg_processing.h
Header file for micrograph processing.
filaments_center
double filaments_center(Bfilament *fillist, Bimage *p, long img_num, int filament_width)
Centers filament nodes in a micrograph.
Definition: mg_helix.cpp:190
mg_extract_show_layer_lines
int mg_extract_show_layer_lines(Bmicrograph *mg, int length, int show)
Extracts and prints layer lines from an image with corresponding Bessel functions.
Definition: mg_helix.cpp:580
Bfilnode
Definition: mg_processing.h:116
project_filament_powerspectrum
int project_filament_powerspectrum(Bproject *project, int pad, int rotated, Bstring &path)
Calculates and average power spectrum from filaments.
Definition: mg_helix.cpp:278
Blayerline
Definition: mg_processing.h:175
filament_profile
double * filament_profile(Bfilnode *fnode, Bimage *p, long img_num, int id, double width, long &n)
Calculates a filament profile and node profile.
Definition: mg_helix.cpp:39