# NOT RUN {
# Generate raster segments
segs <- mcws(kootenayTrees, kootenayCHM, minHeight = 0.2, format = "raster")
# Get textural metrics for ortho's red band
tex <- glcm(segs, kootenayOrtho[[1]])
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab