![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
measure allowing to compute average of the change in the angles of the gradient vectors around the particle circumference More...
Classes | |
| class | ipsdk::imaproc::shape::analysis::GradientAngularityIndex2dMsr |
| Measurement object for measure GradientAngularityIndex2d. More... | |
| class | ipsdk::imaproc::shape::analysis::GradientAngularityIndex2dMsrInfo |
| Information object for measure GradientAngularityIndex2d. More... | |
measure allowing to compute average of the change in the angles of the gradient vectors around the particle circumference
This measure allows to quantified the angularity of a shape using the change in the angles of the gradient vectors around the shape boundary.
For each tops of the polygonal approximation of shape, we compute an angularity value given by :
where :
is the length of segment starting at considered top
.
is the angle of the normal vector associated to segment starting 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 average of the change in the angles of the gradient vectors around the particle circumference
| Measure Type | Measure Unit Type | Parameter Type | Result Type | Shape Requirements |
|---|---|---|---|---|
Geometry 2d |
Custom |
None |
Value (ipsdk::ipReal64) |
Boundary Approximation |
This is a geometry 2d measure
This measure can only be used in 2d case
Measure GradientAngularityIndex2d is associated to a custom unit, please see definition of GradientAngularityIndex2dInfo::computeCustomMsrUnitStr function [ipsdk::shape::analysis::eMsrUnitFormat::eMUF_CustomUnit]
Measure GradientAngularityIndex2d has no parameters
Measure GradientAngularityIndex2d is associated to ipsdk::shape::analysis::ValueMeasureResult<ipsdk::ipReal64> results
Measure GradientAngularityIndex2d requires boundary approximation from shape data
Measure GradientAngularityIndex2d has no dependency
Generic example in 2d case :
1.8.14