|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
|
nodiscard |
Weighted score of one element across the sort keys.
score = sum over keys of sign(direction) * weight * f(feature), where f is tanh when normalize is set and the identity otherwise. Returns nullopt when the element lacks the feature of any key, so the caller decides how to treat it.
Definition at line 172 of file SortingHelper.hpp.
Referenced by MayaFlux::Yantra::RegionKeySorter::sort_implementation().