 |
Bsoft
2.1.0
Bernard's software package
|
int project_flip_particle_coordinates(Bproject *project, int flip)
Reverses one or more particle coordinates.
int project_trim_class_averages(Bproject *project, Bstring &list)
Deletes selected class averages from the project..
int project_set_part_img_origins(Bproject *project)
Writes particle origins into particle image files.
int project_bin_micrographs(Bproject *project, int bin, Bstring mgpath, Bstring partpath)
Bins all micrographs a project.
Vector3< double > micrograph_get_nominal_origin(Bmicrograph *mg)
Gets the nominal origin for a micrograph.
int project_set_nominal_mg_origins(Bproject *project)
Sets micrograph origins to the centers of the micrographs.
int particle_write_img(Bparticle *part, Bimage *p, int compression)
Writes a particle image file.
Vector3< long > micrograph_get_size(Bmicrograph *mg)
Gets the size of a micrograph.
int project_mg_avg_intensities(Bproject *project)
Retrieves the average micrograph intensities.
int project_check_particles(Bproject *project)
Checks particle numbers and box sizes.
int project_write_particle_classes(Bproject *project)
Writes particles to different stacks based on class.
Bproject * project_create_from_images(Bstring *file_list, Bstring type)
Creates a project structure using image file names.
General image parameter class.
double micrograph_intensity(Bmicrograph *mg)
Gets the average of a micrograph.
int project_set_views_in_images(Bproject *project)
Sets views in particle images from the project parameter structure.
int project_catenate_micrographs(Bproject *project)
Concatenates all micrograph image files into one file.
long project_delesect_edge_particles(Bproject *project)
Deselects particles that are too close to the image edges.
Vector3< long > particle_get_box_size(Bparticle *part)
Gets the box size from particle image file.
int project_get_part_box_size(Bproject *project)
Gets the box size from particle image files.
Header file for 2D and 3D image I/O.
int project_set_views_from_images(Bproject *project)
Gets views from particle images.
Bstring image_type(Bstring type)
Converts an image type string to a standard form.
Header file for micrograph processing.
Bproject * project_create_from_image(Bimage *p, Bstring type)
Creates a project structure using image file names.
int project_change_pixel_size(Bproject *project, Vector3< double > new_pixel_size, Bstring mgpath, Bstring partpath)
Changes all the micrograph fields linked to the pixel size.
Bimage * particle_read_img(Bparticle *part, int readflag)
Reads a particle image file.
int project_reset_origins(Bproject *project)
Resets particle origins to nominal values.