MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Yantra::ConvolutionTransformerConfig Struct Reference

Settings of ConvolutionTransformer, stored whole in the operation's facets. More...

#include <ConvolutionTransformer.hpp>

Inheritance diagram for MayaFlux::Yantra::ConvolutionTransformerConfig:
Collaboration diagram for MayaFlux::Yantra::ConvolutionTransformerConfig:

Public Attributes

std::vector< double > impulse_response { 1.0 }
 DIRECT_CONVOLUTION and DECONVOLUTION: impulse response.
bool normalize { true }
 CROSS_CORRELATION and AUTO_CORRELATION: normalise the result to its peak.
Reflect::EnumByte< ConvolutionOperation > operation { ConvolutionOperation::DIRECT_CONVOLUTION }
 Convolution-family operation to apply.
std::vector< double > reference_signal { 1.0 }
 MATCHED_FILTER: reference signal.
double regularization { 1e-6 }
 DECONVOLUTION: Tikhonov regularisation factor.
std::vector< double > template_signal { 1.0 }
 CROSS_CORRELATION: template signal.
Public Attributes inherited from MayaFlux::Yantra::TransformerConfig
double intensity { 1.0 }
 Amount of transformation, 0.0 to 2.0.
TransformationQuality quality { TransformationQuality::STANDARD }
 Requested quality level.
TransformationScope scope { TransformationScope::FULL_DATA }
 Portion of the data processed.
TransformationStrategy strategy { TransformationStrategy::BUFFERED }
 How the input is handled.

Additional Inherited Members

Public Member Functions inherited from MayaFlux::Yantra::OperationConfig
template<typename Op>
void apply_to (Op &operation) const
 Apply retained concrete settings to an operation through its parent contract.
template<typename T>
const T * get () const
 The struct of this type, or nullptr when absent.
 OperationConfig ()=default
template<typename Config>
requires (!std::same_as<std::remove_cvref_t<Config>, OperationConfig> && std::derived_from<std::remove_cvref_t<Config>, OperationConfig>)
 OperationConfig (Config &&config)
 Retain a concrete config whole when placed in a parent-config collection.
 OperationConfig (const OperationConfig &)=default
 OperationConfig (OperationConfig &&) noexcept=default
OperationConfig & operator= (const OperationConfig &)=default
OperationConfig & operator= (OperationConfig &&) noexcept=default
template<typename T>
void set (T value)
 Stores a struct under its type identity.

Detailed Description

Settings of ConvolutionTransformer, stored whole in the operation's facets.

Definition at line 27 of file ConvolutionTransformer.hpp.


The documentation for this struct was generated from the following file: