|
mmcfilters
Public API documentation
|
Exact encoding in 8-bit source-level units. More...
#include <TreeOfShapesProducer.hpp>
Public Types | |
| using | value_type = std::uint8_t |
| Scalar type storing source gray levels. | |
Static Public Member Functions | |
| static value_type | encode (ToSGrayLevel constructionLevel, detail::TopographicImmersionMode immersionMode) |
| Converts one transient construction level to 8-bit source units. | |
Exact encoding in 8-bit source-level units.
A complementary-grid immersion floods the interpolated domain over the source level set itself, so its construction levels are already source gray levels. A self-dual span immersion floods in doubled units, so its construction levels are halved; they are guaranteed to be even only when no half level can enter the active domain, which the convention validation establishes before this encoding is selected.
Definition at line 68 of file TreeOfShapesProducer.hpp.
| using mmcfilters::ToSUInt8AltitudeEncoding::value_type = std::uint8_t |
Scalar type storing source gray levels.
Definition at line 70 of file TreeOfShapesProducer.hpp.
|
inlinestatic |
Converts one transient construction level to 8-bit source units.
| constructionLevel | Altitude or level. |
| immersionMode | Active topographic immersion mode. |
Definition at line 79 of file TreeOfShapesProducer.hpp.