how to make visionhdl_bilatrailfilter block parameter spatial and intensity sigma a programmable constant
1 view (last 30 days)
Gayathri Sankaran on 25 Oct 2021
I was trying to make the two sigma parameter spatial and intensity sigma values as a proggramable output. In vision HDL tool box when it was declared as an extra argument in the function call, the following error messsage was shown.
"Failed to compute constant value for nontunable property 'SpatialStdDev'. In code generation, nontunable properties can only be assigned constant values."
Can anyone help me to tune this parameter as a programmable variable?
Thanks in advance.
Chris Maliepaard on 26 Oct 2021
The Bilateral Filter does not support programmable parameters.
There are some potential workarounds you could pursue. You can implement parallel Bilateral Filters and use a Multiport Switch to select the appropriate filter's output at runtime. Alternatively, you could implement a Bilateral Filter using Image Filter blocks which support programmable coefficients.
I hope that helps,