mbChange {spc4sts} | R Documentation |
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 |
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.
[Package spc4sts version 0.6.3 Index]