# NOT RUN {
path <- system.file('exdata', 'obory.dat', package = 'hyperbrick')
dpath <- system.file('exdata', 'obory_dark.dat', package = 'hyperbrick')
im <- buildBrick(path, hFOV = 36.8, vFOV = 36.8, height = 45,
ref_layer = 35, spectral_feature = 'radiance',
dark_path = dpath)
print(im)
plotRGB(im, r = 63, g = 34, b = 11, stretch = 'lin')
imreg <- registerBrick(im, ref_layer = 35, layers = c(63, 34, 11))
imreg
plotRGB(imreg, stretch = 'lin')
# }
Run the code above in your browser using DataLab