createOME: OME XML Writer

View source: R/ome.R

createOMER Documentation

OME XML Writer

Description

Creates OME xml

Usage

createOME(
  dims,
  param,
  name,
  date,
  what = "int16",
  endianness = .Platform$endian
)

Arguments

dims

image dimensions [h,w,c,f]
with h=height, w=width, c=channel, f=frame.

param

object of class 'IFC_param', containing extraction parameters defined by objectParam.

name

name of the image. When missing, the default it will not be incorporated.

date

date of the image. Should be formatted as ⁠"%Y:%m:%d %H:%M:%S"⁠, see format.Date. When missing, the default it will not be incorporated.

what

bits mode used to store image. Default is "int16". Allowed are "uint8", "int8", "uint16", "int16", "uint32", "int32", "float" and "double".

endianness

The endian-ness ("big" or "little") of the return object. Default is .Platform$endian.

Value

An OME xml.


gitdemont/IFC documentation built on Feb. 20, 2025, 12:55 a.m.