Skip to contents

Satisfies the DelayedArray seed contract (dim, dimnames, type, extract_array) for a single pyramid level of an OME-Zarr store, reading requested blocks through Rarr::read_zarr_array. Zarr axes (typically c, y, x) are permuted to the QPTIFFImage convention [y, x, c] = [H, W, C]. Do not construct directly; use read_qptiff on a .ome.zarr store.

Usage

# S4 method for class 'OMEZarrArraySeed'
dim(x)

# S4 method for class 'OMEZarrArraySeed'
dimnames(x)

# S4 method for class 'OMEZarrArraySeed'
type(x)

# S4 method for class 'OMEZarrArraySeed'
extract_array(x, index)

Arguments

x

An OMEZarrArraySeed.

index

List of length 3; each element is NULL (all indices) or an integer vector of 1-based indices for that dimension.

Value

extract_array returns an ordinary array; dim an integer vector; dimnames a list; type a character scalar.

Slots

array_path

Absolute path to the level array inside the store.

.dim

Integer c(H, W, C) in output order.

.dimnames

List of dimnames; element 3 holds channel names.

dtype

"integer" or "double".

axis_names

Character vector of zarr axis names (store order).

zarr_channels

Integer; 1-based zarr channel index per output channel.

divisor

Numeric; value pixels are divided by in "double" mode.

metadata

A QPTIFFMetadata object.