readTIF {bioimagetools}R Documentation

Read tif stacks

Description

Read tif stacks

Usage

readTIF(file = file.choose(), native = FALSE, as.is = FALSE, channels = NULL)

Arguments

file

Name of the file to read from. Can also be an URL.

native

determines the image representation - if FALSE (the default) then the result is an array, if TRUE then the result is a native raster representation (suitable for plotting).

as.is

attempt to return original values without re-scaling where possible

channels

number of channels

Value

3d or 4d array

Examples


kringel <- readTIF(system.file("extdata","kringel.tif",package="bioimagetools"))
img(kringel)


[Package bioimagetools version 1.1.5 Index]