126 const utils::Range32f &rRange=utils::Range32f(0,::
sqrt(640*640+480*480)),
127 float rInhibitionRange=10,
128 float rhoInhibitionRange=0.3,
129 bool gaussianInhibition=
true,
130 bool blurHoughSpace=
true,
131 bool dilateEntries=
true,
132 bool blurredSampling=
false);
141 void add(
const std::vector<utils::Point> &ps);
147 void add(
const std::vector<utils::Point32f> &ps);
152 add_intern(p[0],p[1]);
158 for(
unsigned int i=0;i<ps.size();++i) add(ps[i]);
174 std::vector<math::StraightLine2D> getLines(
int max,
bool resetAfterwards=
true);
178 std::vector<math::StraightLine2D> getLines(
int max, std::vector<float> &significances,
bool resetAfterwards=
true);
184 void prepare(
float dRho,
float dR,
const utils::Range32f &rRange,
185 float rInhibitionRange,
float rhoInhibitionRange,
186 bool gaussianInhibition=
true,
187 bool blurHoughSpace=
true,
188 bool dilateEntries=
true,
189 bool blurredSampling=
false);
192 float r(
float rho,
float x,
float y)
const;
195 int getX(
float rho)
const;
198 int getY(
float r)
const;
201 float getRho(
int x)
const;
204 float getR(
int y)
const;
207 void incLut(
float rho,
float r);
210 void incLutBlurred(
float rho,
float r);
213 int &cyclicLUT(
int x,
int y);
219 void add_intern(
float x,
float y);
222 void add_intern2(
float x,
float y);
225 void blur_hough_space_if_necessary();
ICLQt_API ImgQ sqrt(const ImgQ &image)
calls sqrt( each pixel)
undocument this line if you encounter any issues!
Definition: Any.h:37
void add(const std::vector< const math::FixedColVector< T, 2 > > &ps)
adds new points
Definition: HoughLineDetector.h:157
#define ICLCV_API
Definition: CompatMacros.h:177
Definition: HoughLineDetector.h:109
void add(const math::FixedColVector< T, 2 > &p)
adds a new point
Definition: HoughLineDetector.h:151
Single precission 3D Vectors Point class of the ICL.
Definition: Point32f.h:41
Point class of the ICL used e.g. for the Images ROI offset.
Definition: Point.h:58
Interface for classes that can be configured from configuration-files and GUI-Components.
Definition: Configurable.h:194
Definition: FixedVector.h:40
Data * m_data
Definition: HoughLineDetector.h:110