T - metadata typepublic abstract class MultiscaleMetadata<T extends N5DatasetMetadata & SpatialMetadata> extends Object implements SpatialMetadataGroup<T>
SpatialMetadataGroup whose children contain
the same data sampled at different resolutions.| Modifier and Type | Field and Description |
|---|---|
protected String |
basePath |
protected T[] |
childrenMetadata |
| Constructor and Description |
|---|
MultiscaleMetadata(String basePath,
T[] childrenMetadata) |
| Modifier and Type | Method and Description |
|---|---|
T[] |
getChildrenMetadata()
Note: This is NOT gauranteeed to be sorted.
|
String |
getPath() |
String[] |
getPaths() |
static <T extends N5DatasetMetadata> |
sortScaleMetadata(T[] metadataToBeSorted)
Sort the array according to scale level; If not all metadata are scale sets, no sorting is done.
|
String[] |
units() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitspatialTransform, spatialTransform3d, spatialTransforms, spatialTransforms3d, unitgetNameprotected final String basePath
protected final transient T extends N5DatasetMetadata & SpatialMetadata[] childrenMetadata
public String getPath()
getPath in interface N5Metadatapublic String[] getPaths()
getPaths in interface N5MetadataGroup<T extends N5DatasetMetadata & SpatialMetadata>public T[] getChildrenMetadata()
N5MetadataGroupgetChildrenMetadata in interface N5MetadataGroup<T extends N5DatasetMetadata & SpatialMetadata>public String[] units()
units in interface SpatialMetadataGroup<T extends N5DatasetMetadata & SpatialMetadata>public static <T extends N5DatasetMetadata> boolean sortScaleMetadata(T[] metadataToBeSorted)
N5Metadata::getName() should be of the form sN.T - the type of the metadatametadataToBeSorted - array of the unsorted scale metadata to be sortedCopyright © 2021–2026 Saalfeld Lab. All rights reserved.