fill_edge Subroutine

public pure recursive subroutine fill_edge(img, n_around)

fill edges with the same color as closest pix.

Arguments

Type IntentOptional Attributes Name
integer, intent(inout), dimension(:, :, :) :: img

image array. has pixel values.

integer, intent(in) :: n_around

The pix of fill edge.