9 #ifndef IMPMULTIFIT_DENSITY_ANALYSIS_H
10 #define IMPMULTIFIT_DENSITY_ANALYSIS_H
14 #include <IMP/multifit/multifit_config.h>
15 #include <boost/graph/adjacency_list.hpp>
16 #include <boost/pending/disjoint_sets.hpp>
17 #include <boost/graph/incremental_components.hpp>
18 #include <boost/graph/graph_utility.hpp>
20 IMPMULTIFIT_BEGIN_NAMESPACE
24 const em::DensityMap *dmap,
float threshold,
int num_bins);
34 float threshold,
float edge_threshold);
48 float threshold,
float edge_threshold);
65 double density_threshold,
int num_means,
66 const std::string pdb_filename,
67 const std::string cmm_filename,
68 const std::string seg_filename,
69 const std::string txt_filename);
71 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.
statistics::Histogram get_density_histogram(const em::DensityMap *dmap, float threshold, int num_bins)
Get a histogram of density values.
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.