![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Shape 2d area measurement (measure based on polygonal approximation) More...
Classes | |
| class | ipsdk::imaproc::shape::analysis::PolygonArea2dMsr |
| Measurement object for measure PolygonArea2d. More... | |
| class | ipsdk::imaproc::shape::analysis::PolygonArea2dMsrInfo |
| Information object for measure PolygonArea2d. More... | |
Typedefs | |
| typedef ipsdk::imaproc::shape::analysis::HolesBasicPolicyMsrParams | ipsdk::imaproc::shape::analysis::PolygonArea2dMsrParams |
| parameters type associated to measure | |
Shape 2d area measurement (measure based on polygonal approximation)
Area2d measure is based on polygonal approximation of shapes. It computes area of polygons using Surveyor's triangulation algorithm.
Note that shape 2d area and number of pixels may differ since area is computed with respect to a given polygonal approximation while the number of pixels only take care of the initial image binary shape.
Here is an example of area 2d measurement :
Shape 2d area measurement (measure based on polygonal approximation)
| Measure Type | Measure Unit Type | Parameter Type | Result Type | Shape Requirements |
|---|---|---|---|---|
Geometry 2d |
Area |
|
Value (ipsdk::ipReal64) |
Boundary Approximation |
This is a geometry 2d measure
This measure can only be used in 2d case
Measure PolygonArea2d is associated to an area measurement unit [ipsdk::shape::analysis::eMsrUnitFormat::eMUF_AreaUnit]
Measure PolygonArea2d is associated to PolygonArea2dMsrParams parameters
Measure PolygonArea2d is associated to ipsdk::shape::analysis::ValueMeasureResult<ipsdk::ipReal64> results
Measure PolygonArea2d requires boundary approximation from shape data
Measure PolygonArea2d has no dependency
Generic example in 2d case :
1.8.14