public class ZarrTransposeCodecInfo extends Object implements org.janelia.saalfeldlab.n5.codec.DatasetCodecInfo
The order parameter parameterizes the permutation.
The ith element of the order array gives the destination index of the ith element of the input.
Example:
order = [1, 2, 0]
input = [7, 8, 9] // interpret as a block size
result = [9, 7, 8] // permuted block size
See the specification of Zarr's Transpose codec.
| Modifier and Type | Class and Description |
|---|---|
static class |
ZarrTransposeCodecInfo.ZarrTransposeOrder
A permutation parameter that is processed before being serialized.
|
static class |
ZarrTransposeCodecInfo.ZarrTransposeOrderAdapter
Note:
The implementation layer can not directly consume the permutation stored in 'order'
due to changes of indexing (C- vs F-) order.
|
| Constructor and Description |
|---|
ZarrTransposeCodecInfo() |
ZarrTransposeCodecInfo(int[] order) |
| Modifier and Type | Method and Description |
|---|---|
static ZarrTransposeCodecInfo |
concatenate(ZarrTransposeCodecInfo[] infos) |
org.janelia.saalfeldlab.n5.codec.transpose.TransposeCodec<?> |
create(org.janelia.saalfeldlab.n5.DatasetAttributes datasetAttributes) |
boolean |
equals(Object obj) |
int[] |
getOrder() |
String |
getType() |
public static final String TYPE
public ZarrTransposeCodecInfo()
public ZarrTransposeCodecInfo(int[] order)
public String getType()
getType in interface org.janelia.saalfeldlab.n5.codec.CodecInfopublic int[] getOrder()
public org.janelia.saalfeldlab.n5.codec.transpose.TransposeCodec<?> create(org.janelia.saalfeldlab.n5.DatasetAttributes datasetAttributes)
create in interface org.janelia.saalfeldlab.n5.codec.DatasetCodecInfopublic static ZarrTransposeCodecInfo concatenate(ZarrTransposeCodecInfo[] infos)
Copyright © 2019–2026 Saalfeld Lab. All rights reserved.