![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
measure allowing to compute an angularity criterion based on a simple successive edge angle variation More...
Classes | |
| class | ipsdk::imaproc::shape::analysis::EdgeAngularity2dMsr |
| Measurement object for measure EdgeAngularity2d. More... | |
| class | ipsdk::imaproc::shape::analysis::EdgeAngularity2dMsrInfo |
| Information object for measure EdgeAngularity2d. More... | |
measure allowing to compute an angularity criterion based on a simple successive edge angle variation
This measure allows to quantified the angularity of a shape using the change in the angles of the segments associated to its polygonal approximation.
For each tops of the polygonal approximation of shape, we compute an angularity value given by :
where :
is angle between segments with a end at considered top
.
Then the global shape angularity value is simply given by the normalized sum of previous values over all tops of the polygonal approximation of shape :
Here is an example of degree of angularity 2d computation on few caracteristic shapes :
measure allowing to compute an angularity criterion based on a simple successive edge angle variation
| Measure Type | Measure Unit Type | Parameter Type | Result Type | Shape Requirements |
|---|---|---|---|---|
Geometry 2d |
None |
None |
Value (ipsdk::ipReal64) |
Boundary Approximation |
This is a geometry 2d measure
This measure can only be used in 2d case
Measure EdgeAngularity2d is not associated to any unit [ipsdk::shape::analysis::eMsrUnitFormat::eMUF_NoUnit]
Measure EdgeAngularity2d has no parameters
Measure EdgeAngularity2d is associated to ipsdk::shape::analysis::ValueMeasureResult<ipsdk::ipReal64> results
Measure EdgeAngularity2d requires boundary approximation from shape data
Measure EdgeAngularity2d has no dependency
Generic example in 2d case :
1.8.14