ImageEn, unit ievision

TIEVisionBlobDetector.setFilterByInertia

TIEVisionBlobDetector.setFilterByInertia


Declaration

procedure setFilterByInertia(enabled: bool32; minInertiaRatio: double; maxInertiaRatio: double); safecall;


Description

Enable or disable the inertia filter (how elongated the blob is).
A circle has inertia = 1, while an ellipse the value is in 0 and 1 range, finally a line has inertia = 0.

Parameter Description
enabled If True inertia filter is enabled (default: true)
minInertiaRatio Minimum inertia value (default: 0.1)
maxInertiaRatio Maximum inertia value (default: 3.4 x 10^38)