sobel Function

public function sobel(img, maximum_value, is_canny) result(output)

sobel filter (sqrt version)

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

logical, intent(in), optional :: is_canny

Whether is used in canny adge detection

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

Filtered image array