# NOT RUN {
library(magrittr)
img <- ReadImageData(system.file('extdata', '50.tif', package = 'nandb'))
EBImage::display(EBImage::normalize(img[, , 1]), method = 'raster')
bts <- BrightnessTimeSeries(img, 20, tau = NA, mst = "Huang", mcc = 2)
setwd(tempdir())
WriteIntImage(img, '50.tif')
WriteIntImage(img, '50again.tif')
BrightnessTimeSeriesTxtFolder(tau = NA, mcc = 2, frames.per.set = 20)
list.files()
file.remove(list.files()) # cleanup
# }
Run the code above in your browser using DataLab