ijtiff_img {ijtiff} | R Documentation |
ijtiff_img
class.
Description
A class for images which are read or to be written by the ijtiff
package.
Usage
ijtiff_img(img, ...)
as_ijtiff_img(img, ...)
Arguments
img |
An array representing the image.
|
... |
Named arguments which are set as attributes. |
Value
A 4 dimensional array representing an image, indexed by img[y, x, channel, frame]
, with selected attributes.
Examples
img <- matrix(1:4, nrow = 2) # to be a single-channel, grayscale image
ijtiff_img(img, description = "single-channel, grayscale")
img <- array(seq_len(2^3), dim = rep(2, 3)) # 1 channel, 2 frame
ijtiff_img(img, description = "blah blah blah")
img <- array(seq_len(2^3), dim = c(2, 2, 2, 1)) # 2 channel, 1 frame
ijtiff_img(img, description = "blah blah")
img <- array(seq_len(2^4), dim = rep(2, 4)) # 2 channel, 2 frame
ijtiff_img(img, software = "R")
[Package ijtiff version 2.3.4 Index]