SourceXtractorPlusPlus  0.10
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AutoSharp.h
Go to the documentation of this file.
1 
23 #ifndef MODELFITTING_AUTOSHARP_H
24 #define MODELFITTING_AUTOSHARP_H
25 
26 #include <utility> // For std::pair
28 
29 namespace ModelFitting {
30 
35 class AutoSharp : public SharpRegionManager {
36 
37 public:
38 
51  AutoSharp(double log_incr=1.122, double first_r=1E-4, double tolerance=0.05,
52  double min_sampling_factor=5.);
53 
54  virtual ~AutoSharp();
55 
61  void updateRasterizationInfo(double scale, double r_max,
62  Profile profile) override;
63 
64  bool insideSharpRegion(double r) override;
65 
66  std::pair<double, int> nextRadiusAndAngleNo(double prev_r) override;
67 
68 private:
69 
70  double m_r_sharp {0.};
71  double m_max_step {0.};
72  double m_first_pix_r {0.};
73  double m_log_incr;
74  double m_first_r;
75  double m_tolerance;
77 
78 }; // end of class AutoSharp
79 
80 } // end of namespace ModelFitting
81 
82 #endif /* MODELFITTING_AUTOSHARP_H */
83 
AutoSharp(double log_incr=1.122, double first_r=1E-4, double tolerance=0.05, double min_sampling_factor=5.)
Definition: AutoSharp.cpp:29
bool insideSharpRegion(double r) override
Definition: AutoSharp.cpp:52
void updateRasterizationInfo(double scale, double r_max, Profile profile) override
Definition: AutoSharp.cpp:36
std::pair< double, int > nextRadiusAndAngleNo(double prev_r) override
Definition: AutoSharp.cpp:56
double m_min_sampling_factor
Definition: AutoSharp.h:76