Use the following steps to change the hardware kernel configuration:
Update the <path to xfOpenCV git
folder>/xfOpenCV/examples/<function>/xf_config_params.h file.
Update the makefile along with the xf_config_params.h
file:
Find the line with the function name in the makefile. For bilateral
filter, the line in the makefile will be
xFBilateralFilter<3,1,0,1080,1920,1>.
Update the template parameters in the makefile to reflect changes made
in the xf_config_params.h file. For more details,
see the xfOpenCV Library API Reference.