The default "circular" behaviour at boundaries is to wrap the image around borders.
In the "replicate" mode pixels outside the bounds of the image are assumed to equal the nearest border pixel value.
Numeric values of boundary yield linear convolution by padding the image with the given value(s).

If x contains multiple frames, the filter is applied separately to each frame.