![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Number of pixels in shape 2d measurement. More...
Classes | |
| class | ipsdk::imaproc::shape::analysis::NbPixels2dMsr |
| Measurement object for measure NbPixels2d. More... | |
| class | ipsdk::imaproc::shape::analysis::NbPixels2dMsrInfo |
| Information object for measure NbPixels2d. More... | |
Number of pixels in shape 2d measurement.
NbPixels2d measure simply count number of pixels associated to a 2d shape.
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 number of pixels measurement :
Number of pixels in shape 2d measurement
| Measure Type | Measure Unit Type | Parameter Type | Result Type | Shape Requirements |
|---|---|---|---|---|
Geometry 2d |
None |
None |
Value (ipsdk::ipUInt64) |
Row Intersections |
This is a geometry 2d measure
This measure can only be used in 2d case
Measure NbPixels2d is not associated to any unit [ipsdk::shape::analysis::eMsrUnitFormat::eMUF_NoUnit]
Measure NbPixels2d has no parameters
Measure NbPixels2d is associated to ipsdk::shape::analysis::ValueMeasureResult<ipsdk::ipUInt64> results
Measure NbPixels2d requires row intersections from shape data
Measure NbPixels2d has no dependency
Generic example in 2d case :
1.8.14