![]() |
ICF 3.1.1.10
Technical documentation of ICF Libraries
|
Base class for caliper based finder. More...
#include <CCaliperFinderBase.h>
Classes | |
| struct | Point |
| struct | Ray |
Public Types | |
| typedef std::vector< Ray > | Rays |
Static Public Member Functions | |
| static bool | DecomposeToLines (const istd::IChangeable &aoiObject, int maxRays, bool allowComposed, i2d::CVector2d &suggestedCenter, std::function< bool(const i2d::CLine2d &)> lineFn) |
| Decompose some aoi object to single line calls. | |
| static bool | DecomposeAnnulus (const i2d::CAnnulus &annulus, int maxRays, i2d::CVector2d &suggestedCenter, std::function< bool(const i2d::CLine2d &)> lineFn) |
| Decompose anulus to single line calls. | |
| static bool | DecomposeRect (const i2d::CRectangle &rect, int maxRays, i2d::CVector2d &suggestedCenter, std::function< bool(const i2d::CLine2d &)> lineFn) |
| Decompose rectangle to single line calls. | |
| static int | AddAoiToRays (const istd::IChangeable &aoiObject, iproc::IProcessor &caliper, const QByteArray &lineParamId, const iprm::IParamsSet *paramsPtr, const IFeatureToImageMapper &featuresMapper, const i2d::ICalibration2d *resultCalibPtr, const iimg::IBitmap &image, const iipr::ICaliperFinderParams &finderParams, bool allowComposed, Rays &inRays, Rays &outRays, i2d::CVector2d &suggestedCenter) |
| Add some aoi object to the lists of rays. | |
Static Protected Member Functions | |
| static void | AddProjectionResultsToRays (const i2d::CLine2d &projectionLine, const iprm::IParamsSet ¶ms, const IFeaturesProvider &container, const IFeatureToImageMapper &featuresMapper, const i2d::ICalibration2d *resultCalibPtr, Rays &inRays, Rays &outRays) |
Base class for caliper based finder.
It helps to use set of 1D caliper lines to create some finder. It takes area of interests (AOI) from parameter set. As AOI can be used annulus, segment of annulus, rectangle and set of segments of annulus.
Definition at line 34 of file CCaliperFinderBase.h.
| std::vector<Ray> iipr::CCaliperFinderBase::Rays |
Definition at line 57 of file CCaliperFinderBase.h.
|
static |
Add some aoi object to the lists of rays.
| aoiObject | object to be added. |
| caliper | caliper processor used to find the features on the line. |
| lineParamId | ID of line parameter will be putted to the caliper processor. |
| paramsPtr | slave parameter pointer, will be combined with the line parameter by caliper call. |
| image | image, being used as a input object for caliper. |
| featuresMapper | mapper of caliper results to the image coordinates. |
| resultCalibPtr | optional calibration of calculated results. |
| finderParams | parameters controlling mode of this finder. |
| allowComposed | if true, the additional ways of generating AOI will be done. |
| inRays | list of rays with the first polarity. |
| outRays | list of rays with the second polarity. |
| suggestedCenter | computed center of geometrical object, like annulus. |
|
staticprotected |
|
static |
Decompose anulus to single line calls.
| annulus | object to be decomposed. |
| maxRays | maximal number of lines per single geometrical object. |
| suggestedCenter | computed suggested center of geometrical object. |
|
static |
Decompose rectangle to single line calls.
| annulus | object to be decomposed. |
| maxRays | maximal number of lines per single geometrical object. |
| suggestedCenter | computed suggested center of geometrical object. |
|
static |
Decompose some aoi object to single line calls.
| aoiObject | object to be decomposed. |
| maxRays | maximal number of lines per single geometrical object. |
| allowComposed | if true, try to interpret AOI object as a set of objects. |
| suggestedCenter | computed center of geometrical object, like annulus. |
© Witold Gantzke and Kirill Lepskiy