public static final class HyperstackUtils.Subspace<T extends RealType<T> & NativeType<T>> extends Object
The metadata describes the position of the subspace in the hyperspace.
Modifier and Type | Class and Description |
---|---|
protected static class |
HyperstackUtils.Subspace.HyperAxisMeta
Describes the metadata of the subspace in relation to one of the axes in
the hyperspace
|
Modifier and Type | Field and Description |
---|---|
RandomAccessibleInterval<T> |
interval |
Modifier and Type | Method and Description |
---|---|
Stream<AxisType> |
getAxisTypes()
Types of the additional hyperspace dimensions
|
LongStream |
getPosition()
Position of the subspace in each additional dimension of the hyperspace.
|
LongStream |
getSubScripts()
Subscripts of the additional hyperspace dimensions
|
String |
toString() |
public final RandomAccessibleInterval<T extends RealType<T> & NativeType<T>> interval
public Stream<AxisType> getAxisTypes()
For example a 3D {X, Y, Z} subspace of a 5D {X, Y, C, Z, T} hyperspace, would have types {Axes.CHANNEL, Axes.TIME}.
public LongStream getPosition()
For example, one 3D {X, Y, Z} subspace of a 5D {X, Y, C, Z, T} hyperspace, would have position {0, 1} - 1st channel, 2nd frame.
public LongStream getSubScripts()
Subscripts identify multiple axis of the same type
For example a 3D {X, Y} subspace of a 6D {X, Y, C, Z, T, T} hyperspace, would have subscripts {1, 1, 1, 2}.
Copyright © 2018–2022 BoneJ. All rights reserved.