filtering_ Function

public pure function filtering_(img, filter, maximum_value, fill) result(filtered)

apply filter Arguments

Arguments

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

image array. has pixel values.

integer, intent(in) :: filter(:,:)

filter array.

integer, intent(in) :: maximum_value

max pixel value.

logical, intent(in), optional :: fill

Whether does fill edge.

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

filtered image. same size as the argument img.