laplacian Function

public pure function laplacian(img, maximum_value) result(output)

laplacian filtering (8 neighborhood)

Arguments

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

Image array. has pixel values.

integer, intent(in) :: maximum_value

max value of a pix. default to 255.

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

filtered image array.