public class Axis extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ARRAY |
static String |
CHANNEL |
protected boolean |
discrete |
static String |
DISPLACEMENT |
protected String |
name |
static String |
SPACE |
static String |
TIME |
protected String |
type |
protected String |
unit |
| Constructor and Description |
|---|
Axis(String name)
see https://ngff.openmicroscopy.org/0.4/index.html#axes-md
|
Axis(String type,
String name)
see https://ngff.openmicroscopy.org/0.4/index.html#axes-md
|
Axis(String type,
String name,
String unit)
see https://ngff.openmicroscopy.org/0.4/index.html#axes-md
|
Axis(String type,
String name,
String unit,
boolean discrete)
see https://ngff.openmicroscopy.org/0.4/index.html#axes-md
|
| Modifier and Type | Method and Description |
|---|---|
static Axis |
defaultArray(int index) |
boolean |
equals(Object other) |
String |
getName() |
String |
getType() |
String |
getUnit() |
static Axis[] |
space(String unit,
String... names) |
String |
toString() |
public static final String SPACE
public static final String CHANNEL
public static final String TIME
public static final String DISPLACEMENT
public static final String ARRAY
protected String type
protected String name
protected String unit
protected boolean discrete
public Axis(String type, String name, String unit, boolean discrete)
name - must be unique across all name fields (typical: t,c,z,y,x)type - Axis.SPACE, Axis.CHANNEL, Axis.TIME, Axis.DISPLACEMENT or Axis.ARRAY (optional)unit - must be chosen from a list of allowed units, can otherwise lead to issues down the road, e.g. in Neuroglancer (optional)discrete - not part of the spec yet, DISCRETE means don't interpolate between values (optional)public Axis(String name)
name - must be unique across all name fields (typical: t,c,z,y,x)public Axis(String type, String name)
name - must be unique across all name fields (typical: t,c,z,y,x)type - Axis.SPACE, Axis.CHANNEL, Axis.TIME, Axis.DISPLACEMENT or Axis.ARRAY (optional)public Axis(String type, String name, String unit)
name - must be unique across all name fields (typical: t,c,z,y,x)type - Axis.SPACE, Axis.CHANNEL, Axis.TIME, Axis.DISPLACEMENT or Axis.ARRAY (optional)unit - must be chosen from a list of allowed units, can otherwise lead to issues down the road, e.g. in Neuroglancer (optional)Copyright © 2021–2026 Saalfeld Lab. All rights reserved.