IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit

computation of distance from shape tops to considered line More...

computation of distance from shape tops to considered line

This measure is based on LeastSquareLine2d measure results.

It computes, given a shape and associated line 2d approximation, signed distance to estimated line from each top of shape :

flatness2d.png

Estimated line can be computed using a simple parametric estimation of shape tops or can be computed using a robust estimation technic. This behavior is ruled by measure parameter, see ipsdk::imaproc::attr::RobustEstimationConfig.

For more information on line 2d estimation please refer to LeastSquareLine2d.