spaCov | R Documentation |

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

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

`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. |

The spatial weighted covariance.

Anh Bui

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

`kerMat, bp`

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.