ijtiff has the fourth dimension of an ijtiff_img as its time dimension.
However, some linescan images (images where a single line of pixels is
acquired over and over) have the time dimension as the y dimension, (to avoid
the need for an image stack). These functions allow one to convert this type
of image into a conventional ijtiff_img (with time in the fourth dimension)
and to convert back.
Usage
linescan_to_stack(linescan_img)
stack_to_linescan(img)
Value
The converted image, an object of class ijtiff_img.
Arguments
linescan_img
A 4-dimensional array in which the time axis is the first
axis. Dimension 4 must be 1 i.e. dim(linescan_img)[4] == 1.
img
A conventional ijtiff_img, to be turned into a linescan image.
Dimension 1 must be 1 i.e. dim(img)[1] == 1.