MATLAB training programs (bilateral filtering) bilateral filter templates for two main template, first is the Gaussian profile, the second is based on gray level difference as generated by the coefficients of the function template. And these two templates dot get the final bilateral filter templates. First templates are global templates, so only need to build it once. Second template need to be calculated for each pixel, so it needs to be on the inside of the loop to generate, much like the surface blur. Oh, and surface blur is to use a censoring filter.
Tips: You can preview the content of files by clicking file names^_^