getAverageCpp: Window mean written in C++

Description Usage Arguments

View source: R/RcppExports.R

Description

Calculates window mean for a given SAR-class object. The window is a square.

Usage

1
getAverageCpp(img, u, v, n)

Arguments

img

Matrix.

u

Integer. Center of window (column, i.e. y coordinate).

v

Integer. Center of window (row, i.e. x coordinate).

n

Integer. (Window size-1)/2 in x and y direction.


ragram documentation built on May 2, 2019, 4:42 p.m.