Research Article
Retinal Image Denoising via Bilateral Filter with a Spatial Kernel of Optimally Oriented Line Spread Function
Algorithm 1
Bilateral filter with a spatial kernel of optimally oriented line spread function.
Input: image , kernel size , scale parameters , | Calculate the multi-scale oriented Gaussian like kernels mentioned in Section 4.1.1 using Eq. (8) | for each: image pixel do | Compute the best matching kernel from the Gaussian like kernels using Eq. (9), | record the index of the best matching orientation and scale | end for | for each: image pixel do | for each: neighboring image pixel do | Compute weight of spatial kernel using Eq. (11); | Compute weight of range kernel using the conventional method in BLF | end for | Compute the filtered image pixel using Eq. (7) | end for | Output: result image |
|