MorphologicalAttributeFilters
Public API documentation
Loading...
Searching...
No Matches
mmcfilters::AltitudeValue Concept Reference

Value types accepted by generic altitude helpers. More...

#include <Altitude.hpp>

Concept definition

template<class T>
std::totally_ordered<T> &&
!std::is_same_v<std::remove_cv_t<T>, bool> &&
(detail::SupportedFloatingAltitude<T> || detail::SupportedIntegralAltitude<T>)
Value types accepted by generic altitude helpers.
Definition Altitude.hpp:42

Detailed Description

Value types accepted by generic altitude helpers.

The concept is intentionally conservative: floating-point values are accepted, and integral values must fit safely inside the signed 64-bit difference type. bool is rejected because it has no meaningful altitude interval semantics.

Public weighted-tree and attribute APIs use this concept to keep altitude arithmetic independent of the original image pixel type while preserving the monotone ordering required by max-trees and min-trees.

Definition at line 42 of file Altitude.hpp.