mask.create | R Documentation |
Select part of image according to greyscale (or color) value.
mask.create(img,
range1 = c(0, 1), range2 = c(0, 1), range3 = c(0, 1),
locate = TRUE)
img |
Image object of class "adimpro", usually the result
returned from |
range1 |
Range of gray values or values in the
first color channel. |
range2 |
Range of values in the second color
channel. |
range3 |
Range of values in the third color
channel. |
locate |
(logical). If |
Function to create a mask. The returned object mask
can
be used to restrict computations in function awsimage
to
a region characterized by mask==TRUE
.
logical matrix of image dimension.
Karsten Tabelow tabelow@wias-berlin.de and Joerg Polzehl polzehl@wias-berlin.de
Polzehl, J., and Tabelow, K. (2007). Adaptive smoothing of digital images, Journal of Statistical Software 19 (1).
awsimage
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.