9 #ifndef IMPMULTIFIT_DENSITY_ANALYSIS_H
10 #define IMPMULTIFIT_DENSITY_ANALYSIS_H
13 #include <IMP/multifit/multifit_config.h>
14 #include <boost/graph/adjacency_list.hpp>
15 #include <boost/pending/disjoint_sets.hpp>
16 #include <boost/graph/incremental_components.hpp>
17 #include <boost/graph/graph_utility.hpp>
19 IMPMULTIFIT_BEGIN_NAMESPACE
30 float edge_threshold);
42 float edge_threshold);
59 double density_threshold,
int num_means,
60 const std::string pdb_filename,
61 const std::string cmm_filename,
62 const std::string seg_filename,
63 const std::string txt_filename);
65 IMPMULTIFIT_END_NAMESPACE
IntsList get_connected_components(em::DensityMap *dmap, float threshold, float edge_threshold)
Return connected components based on density values.
em::DensityMap * remove_background(em::DensityMap *dmap, float threshold, float edge_threshold)
Returns a map containing all density without the background.
Class for handling density maps.
void get_segmentation(em::DensityMap *dmap, double apix, double density_threshold, int num_means, const std::string pdb_filename, const std::string cmm_filename, const std::string seg_filename, const std::string txt_filename)
Segment a density map using the anchor graph.
IMP::base::Vector< Ints > IntsList
Standard way to pass a bunch of Ints values.