Sets transformation parameters.
- Parameters
-
| name | Parameter name |
| value | Parameter value |
Handles setting of convolution operation type and delegates other parameters to base class. Supports both enum and string values for the "operation" parameter.
Common parameters include:
- "impulse_response": Impulse response for convolution/deconvolution operations
- "template_signal": Template signal for cross-correlation
- "reference_signal": Reference signal for matched filtering
- "normalize": Whether to normalize correlation results
- "regularization": Regularization parameter for deconvolution stability
Reimplemented from MayaFlux::Yantra::UniversalTransformer< InputType, OutputType >.
Definition at line 146 of file ConvolutionTransformer.hpp.
147 {
148 if (name == "operation") {
149 if (auto op_result = safe_any_cast<ConvolutionOperation>(value)) {
151 return;
152 }
153 if (auto str_result = safe_any_cast<std::string>(value)) {
154 if (auto op_enum = Utils::string_to_enum_case_insensitive<ConvolutionOperation>(*str_result.value)) {
156 return;
157 }
158 }
159 }
160
162 }