spaCov: Spatial Weighted Covariance

spaCovR Documentation

Spatial Weighted Covariance

Description

Computes the spatial weighted covariance of a pair of pixels in a given image.

Usage

spaCov(img, i1, i2, j1, j2, K)

Arguments

img

the given image

i1

the row index of the first pixel in the pair.

i2

the column index of the first pixel in the pair.

j1

the row index of the second pixel in the pair.

j2

the column index of the second pixel in the pair.

K

the weighted matrix.

Value

The spatial weighted covariance.

Author(s)

Anh Bui

References

Bui, A.T. and Apley., D.W. (2018a) "A Monitoring and Diagnostic Approach for Stochastic Textured Surfaces", Technometrics, 60, 1-13.

See Also

kerMat, bp


spc4sts documentation built on May 24, 2022, 5:07 p.m.