![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
this measure allows to compute changes in the slope of the shape outline More...
Classes | |
| class | ipsdk::imaproc::shape::analysis::OutlineSlopeAngularity2dMsr |
| Measurement object for measure OutlineSlopeAngularity2d. More... | |
| class | ipsdk::imaproc::shape::analysis::OutlineSlopeAngularity2dMsrInfo |
| Information object for measure OutlineSlopeAngularity2d. More... | |
| class | ipsdk::imaproc::shape::analysis::OutlineSlopeAngularity2dMsrParams |
| Parameter object for measure OutlineSlopeAngularity2d. More... | |
this measure allows to compute changes in the slope of the shape outline
This measure allows to quantified the angularity using the changes in the slope of of a shape outline.
For each tops of the polygonal approximation of shape, we compute an intermediate value given by :
where :
is angle between segments ending at considered top
.
We then compute the histogram of these values using a number of orientation defined by parameter NbOrientations.
The global shape angularity value is then given by following formula :
where :
is the requested number of orientations for histogram analysis (ie. parameter NbOrientations).
is the angle associated to center of class
.
is the probability associated to class
.Here is an example of degree of angularity 2d computation on few caracteristic shapes :
this measure allows to compute changes in the slope of the shape outline
| Measure Type | Measure Unit Type | Parameter Type | Result Type | Shape Requirements |
|---|---|---|---|---|
Geometry 2d |
Angle |
|
Value (ipsdk::ipReal64) |
Boundary Approximation |
This is a geometry 2d measure
This measure can only be used in 2d case
Measure OutlineSlopeAngularity2d is associated to an angular (radians) measurement unit [ipsdk::shape::analysis::eMsrUnitFormat::eMUF_RadianUnit]
Measure OutlineSlopeAngularity2d is associated to OutlineSlopeAngularity2dMsrParams parameters
Measure OutlineSlopeAngularity2d is associated to ipsdk::shape::analysis::ValueMeasureResult<ipsdk::ipReal64> results
Measure OutlineSlopeAngularity2d requires boundary approximation from shape data
Measure OutlineSlopeAngularity2d has no dependency
Generic example in 2d case :
1.8.14