|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Nodes::Generator::Logic::set_threshold | ( | double | threshold, |
| bool | create_default_direct_function = false |
||
| ) |
Sets the decision boundary for binary quantization.
| threshold | Value above which input is considered true |
| create_default_direct_function | Whether to create a default direct function if none is set |
Configures the threshold used to convert continuous input values to binary states (true/false). Critical for accurate digital interpretation of analog-like signals.
Definition at line 311 of file Logic.cpp.
References MayaFlux::Nodes::Generator::DIRECT, m_direct_function, m_high_threshold, m_low_threshold, m_mode, m_operator, m_threshold, and MayaFlux::Nodes::Generator::THRESHOLD.