KernelRectangular: Build a rectangular kernel of size X x Y

View source: R/GeostTextureLibrarySharedRoxy.R

KernelRectangularR Documentation

Build a rectangular kernel of size X x Y

Description

Build a rectangular kernel of size X x Y

Usage

KernelRectangular(lenx, leny)

Arguments

lenx

The size in pixels along x

leny

The size in pixels along y

Value

The matrix (square/rectangular) with the selected pixels

Examples

#A rectangular moving window 5x5 pixels
w=KernelRectangular(5,5)
w

SurfRough documentation built on April 4, 2025, 2:19 a.m.