readTiffStack: Read TIFF image stack

View source: R/readTiffStack.R

readTiffStackR Documentation

Read TIFF image stack

Description

Reads TIFF image stacks into an array. It uses the function readTIFF in the package 'tiff' and runs in parallel using the packages 'foreach' and 'doParallel'.

Usage

readTiffStack(path, cores = 2)

Arguments

path

path of the folder where the TIFF images are stored

cores

number of cores for parallel computation (default=2)

Value

An array with dimensions depending on the number of channels in the images. The first two dimensions indicate the image width and height in pixels, and the last dimension is the number of images in the stack.

Author(s)

Alessio Veneziano


AlessioVeneziano/IndianaBones documentation built on Dec. 2, 2022, 7:35 a.m.