test_raster: Randomly generated 100x100 test image

Description Examples

Description

Used in testing the output from the GLCM texture statistics C++ code.

Examples

1
2
3
4
5
6
# The image was generated with the following code:
require(raster)
set.seed(0)
test_matrix <- matrix(runif(100)*32, nrow=10)
test_raster <- raster(test_matrix, crs='+init=EPSG:4326')
test_raster <- cut(test_raster, seq(0, 32))

azvoleff/glcm documentation built on June 4, 2017, 12:08 a.m.