mbChange: Matchbox Change

Description Usage Arguments Details Value Author(s) References

View source: R/mbChange.R

Description

Modifies a given image to have a matchbox change.

Usage

1
mbChange(img, alpha = 1)

Arguments

img

the image to be matchboxed

alpha

the amount of matchboxing

Details

Each column i of img is modified as follows: img[2:nrow(img),i] <- (1 - alpha*(i-1)/ncol(img))*img[2:nrow(img),i] + alpha*(i-1)/ncol(img)*img[1:(nrow(img)-1),i]

Value

The matchboxed image in the matrix format.

Author(s)

Anh Bui

References

Bui, A.T. and Apley, D.W. (2018b) "Monitoring for changes in the nature of stochastic textured surfaces", Journal of Quality Technology, 50, 363-378.


spc4sts documentation built on July 2, 2021, 5:06 p.m.