Description Usage Arguments Details Value Author(s) See Also Examples
Calculate selected Texture parameters from clouds based on spectral properties
1 2 3 4 |
x |
A rasterLayer or a rasterStack containing different channels where clouds are already masked |
nrasters |
A vector of channels to use from x. Default =nlayers(x) |
filter |
A vector of numbers indicating the environment sizes for which the textures are calculated |
var |
A string vector of parameters to be calculated.
see |
parallel |
A logical value indicating whether parameters are calculated parallely or not |
n_grey |
Number of grey values. see |
min_x |
for each channel the minimum value which can occur. If NULL then the minimum value from the rasterLayer is used. |
max_x |
for each channel the maximum value which can occur. If NULL then the maximum value from the rasterLayer is used. |
This functions fills the glcm function with standard settings used for the rainfall retrieval
A list of RasterStacks containing the texture parameters for each combination of channel and filter
Hanna Meyer
1 2 3 4 5 6 7 8 9 10 11 | ## example on how to calculate texture from a list of msg channels
#'# stack the msg scenes:
msg_example <-getChannels(inpath=system.file("extdata/msg",package="Rainfall"))
#calculate texture
result <- textureVariables(msg_example,nrasters=1:3,
var=c("mean", "variance", "homogeneity"))
#plot the results from VIS0.6 channel:
plot(result$size_3$VIS0.6)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.