bilateral Function

public pure function bilateral(img, sigma, maximum_value, n_times) result(output)

apply bilateral filter

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: img(:,:,:)

Image array has pixel values.

real, intent(in) :: sigma

use in gaussian distribution.

integer, intent(in) :: maximum_value

The max value of pixel.

integer, intent(in) :: n_times

Number of time to apply filter.

Return Value integer, allocatable, (:,:,:)

The image applied bilateral filter.