spaCov: Spatial Weighted Covariance

Description Usage Arguments Value Author(s) References See Also

Description

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

Usage

1
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 July 2, 2021, 5:06 p.m.