9 #ifndef IMPEM2D_COLLISION_CROSS_SECTION_H
10 #define IMPEM2D_COLLISION_CROSS_SECTION_H
20 IMPEM2D_BEGIN_NAMESPACE
34 CollisionCrossSection(
unsigned int n_projections,
37 double projection_image_size
45 void set_model_particles(
const ParticlesTemp &ps);
52 double get_ccs()
const;
58 void show(std::ostream &out)
const {
59 out <<
"Collision Cross section." << std::endl;
69 double get_projected_area(
const cv::Mat &m)
const;
71 unsigned int n_projections_;
74 unsigned int img_size_;
77 cv::Mat average_projection_;
78 em2d::MasksManagerPtr masks_manager_;
79 double collision_cross_section_;