 |
Bsoft
2.1.0
Bernard's software package
|
Go to the documentation of this file.
30 DataType datatype,
int setinputZslices,
int setoutputZslices,
31 double cutmin,
double cutmax,
double replace_threshold);
int project_mg_tilt_to_matrix(Bproject *project)
Sets the matrix from the tilt and axis angles for each micrograph.
long project_delete_markers(Bproject *project, Bstring &delete_list)
Deletes selected markers in a project hierarchy.
int project_mg_marker_select(Bproject *project, double fom)
Selects markers.
long mg_find_markers(Bmicrograph *mg, long edge, int add)
Finds markers in a micrograph.
Bimage * img_gold_particle(Vector3< long > size, double radius)
Generates an image representing a gold particle.
int project_check_markers(Bproject *project, int flags)
Checks if the markers in a project parameter structure fall within micrographs.
int project_calculate_model(Bproject *project)
Calculates the z-coordinates of the marker model.
int project_sort_markers_by_id(Bproject *project)
Sorts markers for each micrograph by ID number.
int project_mass_normalize(Bproject *project, double avg, double std, int norm_type, DataType datatype, int setinputZslices, int setoutputZslices, double cutmin, double cutmax, double replace_threshold)
Normalizes a set of images in a project to a desired average and standard deviation.
3x3 Matrix manipulation functions
Bimage * mg_composite_particle(Bmicrograph *mg, Vector3< long > size)
Generates an average particle image from a micrograph.
double project_thickness(Bproject *project, double lambda)
Determines the thickness from a tilt series and mean free path.
double project_lambda(Bproject *project, double thickness)
Determines the mean free path from a tilt series and thickness.
int project_set_marker_radius(Bproject *project, double mark_radius)
Sets the marker radius in a project parameter structure.
int project_calculate_angles(Bproject *project)
Calculates tilt and tilt axis angles from matrices in a project parameter structure.
double mg_tomo_residuals(Bmicrograph *mg, Bmarker *model, Vector3< double > oriref)
Calculates the residuals for an alignment solution of one micrograph.
int project_erase_markers(Bproject *project, double marker_radius)
Erases or paints markers in micrographs.
Vector3< double > mg_location_from_3D_model(Vector3< double > loc, Matrix3 mat, Vector3< double > ori)
Calculates the 2D location of a marker from a 3D model.
double project_marker_rotation_axis(Bproject *project)
Determines the most likely rotation axis location for a tilt series.
int project_invert_matrices(Bproject *project)
Inverts the micrograph matrices in a project parameter structure.
double project_tomo_residuals(Bproject *project, int show)
Calculates the residuals for an alignment solution.
double project_fit_intensities(Bproject *project, Bplot *plot=NULL, int flag=0)
Determines the thickness to mean free path ratio from a tilt series.
int project_clear_extraneous_areas(Bproject *project, long thickness, double width)
Clears areas from a tilt series not used in a reconstruction.
General image parameter class.
double project_thickness_to_lambda_ratio(Bproject *project)
Determines the thickness to mean free path ratio from a tilt series.
long project_renumber_markers(Bproject *project)
Renumbers the markers in a project hierarchy.
Bplot * project_intensity_plot(Bproject *project)
Transfers the micrograph intensities for a field into a plot.
long project_mg_select(Bproject *project, Bstring &mg_select)
Selects micrographs in a project hierarchy.
int project_fix_markers(Bproject *project)
Checks if the markers in a project parameter structure fall within micrographs.
long img_erase_markers(Bimage *p, Bmarker *mark, double marker_radius)
Erases or paints markers in an image.
int project_invert_tilt_axis(Bproject *project)
Inverts the tilt axis in a project parameter structure.
int project_set_tilt_axis(Bproject *project, double tilt_axis)
Sets the tilt axis angle in a project parameter structure.
long project_show_markers(Bproject *project)
Shows the markers in a project hierarchy.
int micrograph_clear_extraneous_areas(Bmicrograph *mg, Bimage *p, long thickness, double width)
Clears extraneous areas from a micrograph.
int project_set_tilt_angles(Bproject *project, double tilt_start, double tilt_step)
Sets the tilt and tilt axis angles in a project parameter structure.
Header file for 2D and 3D image I/O.
double project_tomo_errors(Bproject *project)
Analyzes marker errors.
int project_merge_rec_markers(Bproject *project)
Merges the markers for two reconstructions.
Bmarker * img_find_gold_particles(Bimage *p, int img_select, double radius, long edge, double cutoff)
Finds gold particles in micrograph images.
Header file for micrograph processing.
long project_show_errors(Bproject *project, double error_cutoff)
Shows the errors in marker coordinates in a project hierarchy.
Bimage * mg_erase_markers(Bmicrograph *mg, double marker_radius)
Erases or paints markers in micrographs.
int mg_marker_init(Bmicrograph *mg, Bmarker *model)
Initializes markers from the reference.
long project_mg_exclude(Bproject *project, Bstring &mg_exclude)
Deselects micrographs in a project hierarchy.
int mg_reset_model(Bmicrograph *mg, Bmarker *model)
Resets the model x and y coordinates from the zero-tilt micrograph.
DataType
Base data type specifier.
long project_count_markers(Bproject *project)
Counts the markers in a project hierarchy.
long project_find_markers(Bproject *project, long edge, int add)
Finds all markers in a project.
int project_generate_markers(Bproject *project)
Generates missing micrograph and model markers.
int mg_marker_update(Bmicrograph *mg, Bmarker *model, Vector3< double > oriref, int update_location)
Calculates the predicted positions of markers from the reference.
long project_deselect_markers(Bproject *project, Bstring &deselect_list)
Deletes selected markers in a project hierarchy.