# NOT RUN {
path <- system.file("extdata", package = "satellite")
files <- list.files(path, pattern = glob2rx("LC8*.tif"), full.names = TRUE)
sat <- satellite(files)
target <- getSatDataLayer(sat, "B003n")
# }
# NOT RUN {
## histogram matching
calcHistMatch(sat, target, bcde = "B002n")
# }
Run the code above in your browser using DataLab