|
mmcfilters
Public API documentation
|
Shape descriptors of the region enclosed by the external boundary. More...
#include <FilledShapeAttributeComputer.hpp>
Static Public Member Functions | |
| template<std::floating_point Real> | |
| static void | compute (const AttributeComputeContext< Real > &context) |
| Computes requested filled-region descriptors. | |
| template<std::floating_point Real, AltitudeValue T> | |
| static void | compute (const AltitudeAttributeComputeContext< Real, T > &context) |
| Computes descriptors using altitudes to resolve directional connectivity. | |
| template<std::floating_point Real> | |
| static void | computeUnitRows (const UnitAttributeComputeContext< Real > &context) |
| Writes unit-support values in the supplied pixel order. | |
Static Public Attributes | |
| static constexpr std::string_view | familyName = "filled-shape" |
| Name used in dependency diagnostics. | |
| static constexpr AttributeComputerFamily | family = AttributeComputerFamily::FilledShape |
| Scheduler family. | |
| static constexpr AttributeComputerDomain | domain = AttributeComputerDomain::Topology |
| Support-based computation. | |
| static constexpr std::array< Attribute, 13 > | producedAttributes |
| Canonical output order of the family. | |
Shape descriptors of the region enclosed by the external boundary.
Holes are filled and each enclosed pixel has unit mass at its center. Computation consumes one incremental trace traversal without storing filled masks or retaining traces. Every live node must have exactly one external boundary. Altitude is used only to select connectivity for lower/upper shapes.
Definition at line 78 of file FilledShapeAttributeComputer.hpp.
|
inlinestatic |
Computes descriptors using altitudes to resolve directional connectivity.
| context | Valued tree, requests, and destination columns. |
Definition at line 102 of file FilledShapeAttributeComputer.hpp.
|
inlinestatic |
Computes requested filled-region descriptors.
| context | Tree, requests, and destination columns. |
Definition at line 91 of file FilledShapeAttributeComputer.hpp.
|
inlinestatic |
Writes unit-support values in the supplied pixel order.
Area, eccentricity, and circularity are one; the centroid is the pixel coordinate. All remaining descriptors are zero.
| context | Pixel order, requests, and destination columns. |
Definition at line 118 of file FilledShapeAttributeComputer.hpp.
|
staticconstexpr |
Support-based computation.
Definition at line 82 of file FilledShapeAttributeComputer.hpp.
|
staticconstexpr |
Scheduler family.
Definition at line 81 of file FilledShapeAttributeComputer.hpp.
|
staticconstexpr |
Name used in dependency diagnostics.
Definition at line 80 of file FilledShapeAttributeComputer.hpp.
|
inlinestaticconstexpr |
Canonical output order of the family.
Definition at line 85 of file FilledShapeAttributeComputer.hpp.