218 ChamferOp(
icl32s horizontalAndVerticalNeighbourDistance=3,
icl32s diagonalNeighborDistance=4,
int scaleFactor=1,
bool scaleUpResult=
true);
260 static double computeDirectedHausdorffDistance(
const core::Img32s *chamferImage,
261 const std::vector<utils::Point> &model,
262 hausdorffMetric m=hausdorff_mean,
263 outerROIPenaltyMode pm=noPenalty,
275 static double computeDirectedHausdorffDistance(
const core::Img32s *chamferImage,
295 static double computeSymmetricHausdorffDistance(
const core::Img32s *chamferImageA,
297 hausdorffMetric m=hausdorff_mean,
325 hausdorffMetric m=hausdorff_mean,
345 static double computeSymmeticHausdorffDistance(
const core::Img32s *chamferImage,
346 const std::vector<utils::Point> &model,
351 hausdorffMetric m=hausdorff_mean,
int m_iScaleFactor
internal scale factor
Definition: ChamferOp.h:365
Chamfering Unit.
Definition: ChamferOp.h:189
undocument this line if you encounter any issues!
Definition: Any.h:37
Definition: ChamferOp.h:199
Definition: ChamferOp.h:193
ICLQt_API ImgROI roi(ImgQ &r)
creates a ROI-struct from an image
icl32s m_iDiagonalNeighborDistance
internally used variable for diagonal adjacent pixels
Definition: ChamferOp.h:362
static const Rect null
null Rect is w=0, h=0, x=0, y=0
Definition: Rect.h:99
Ipp32s icl32s
32bit signed integer type for the ICL
Definition: BasicTypes.h:58
virtual ~ChamferOp()
destructor
Definition: ChamferOp.h:221
bool m_bScaleUpResult
defines whether to scale up the result image if m_iScaleFactor is > 1
Definition: ChamferOp.h:368
Abstract Base class for Unary Operators.
Definition: UnaryOp.h:51
Size class of the ICL.
Definition: Size.h:61
ICLQt_API core::Img< T > filter(const core::Img< T > &image, const std::string &filter)
applies a filter operation on the source image (affinity for float)
hausdorffMetric
decides which metric is used to calculate the Hausdorff distance
Definition: ChamferOp.h:192
outerROIPenaltyMode
decides how to punish model point, that are outside the images ROI, but inside of the image Rect
Definition: ChamferOp.h:197
icl32s m_iHorizontalAndVerticalNeighbourDistance
internally used variable for horizontally or vertically adjacent pixels
Definition: ChamferOp.h:359
#define ICLFilter_API
Definition: CompatMacros.h:175
Definition: ChamferOp.h:198
virtual void apply(const core::ImgBase *operand1, core::ImgBase **dst)=0
pure virtual apply function, that must be implemented in all derived classes
Rectangle class of the ICL used e.g. for the Images ROI-rect.
Definition: Rect.h:95
ImgBase is the Image-Interface class that provides save access to underlying Img-template .
Definition: ImgBase.h:131
The Img class implements the ImgBase Image interface with type specific functionalities .
Definition: Img.h:49
core::Img32s m_oBufferImage
temporarily use buffer
Definition: ChamferOp.h:371