Learn R Programming

spc4sts (version 0.6.3)

mbChange: Matchbox Change

Description

Modifies a given image to have a matchbox change.

Usage

mbChange(img, alpha = 1)

Arguments

img

the image to be matchboxed

alpha

the amount of matchboxing

Value

The matchboxed image in the matrix format.

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]

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.