KernelRectangular {SurfRough} | R Documentation |
Build a rectangular kernel of size X x Y
KernelRectangular(lenx, leny)
lenx |
The size in pixels along x |
leny |
The size in pixels along y |
The matrix (square/rectangular) with the selected pixels
#A rectangular moving window 5x5 pixels
w=KernelRectangular(5,5)
w