write_R2TIFF: Export RLum.Data.Image and RLum.Data.Spectrum objects to TIFF...

View source: R/write_R2TIFF.R

write_R2TIFFR Documentation

Export RLum.Data.Image and RLum.Data.Spectrum objects to TIFF Images

Description

Simple wrapper around tiff::writeTIFF to export suitable RLum-class objects to TIFF images. Per default 16-bit TIFF files are exported.

Usage

write_R2TIFF(object, file = tempfile(), norm = 65535, ...)

Arguments

object

RLum.Data.Image or RLum.Data.Spectrum object (required): input object, can be a list of such objects

file

character (required): the file name and path

norm

numeric (with default): normalisation values. Values in TIFF files must range between 0-1, however, usually in imaging applications the pixel values are real integer count values. The normalisation to the to the highest 16-bit integer values -1 ensures that the numerical values are retained in the exported image. If 1 nothing is normalised.

...

further arguments to be passed to tiff::writeTIFF.

Value

A TIFF file

Function version

0.1.0

How to cite

Kreutzer, S., 2024. write_R2TIFF(): Export RLum.Data.Image and RLum.Data.Spectrum objects to TIFF Images. Function version 0.1.0. In: Kreutzer, S., Burow, C., Dietze, M., Fuchs, M.C., Schmidt, C., Fischer, M., Friedrich, J., Mercier, N., Philippe, A., Riedesel, S., Autzen, M., Mittelstrass, D., Gray, H.J., Galharret, J., 2024. Luminescence: Comprehensive Luminescence Dating Data Analysis. R package version 0.9.24. https://CRAN.R-project.org/package=Luminescence

Author(s)

Sebastian Kreutzer, Institute of Geography, Heidelberg University (Germany) , RLum Developer Team

See Also

tiff::writeTIFF, RLum.Data.Image, RLum.Data.Spectrum

Examples

data(ExampleData.RLum.Data.Image, envir = environment())
write_R2TIFF(ExampleData.RLum.Data.Image, file = tempfile())


Luminescence documentation built on June 22, 2024, 9:54 a.m.