Write images (arrays) as tab-separated .txt files on disk. Each
channel-frame pair gets its own file.
write_txt_img(img, path, rds = FALSE, msg = TRUE) read_txt_img(path, msg = TRUE) txt_img_write(img, path, rds = FALSE, msg = TRUE) txt_img_read(path, msg = TRUE)
| img | An image, represented by a 4-dimensional array, like an ijtiff_img. |
|---|---|
| path | The name of the input/output output file(s), without a file extension. |
| rds | In addition to writing a text file, save the image as an RDS (a single R object) file? |
| msg | Print an informative message about the image being read? |
#> #>#>#>#>#> [1] "/tmp/Rtmp0M47WT/img4ca81df3b6e7_ch1.txt"txt_img <- read_txt_img(tmptxt_ch1_path)#>#>