public class MetadataTempBuffer
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
double[] |
acquiredDate |
java.util.ArrayList<java.util.ArrayList<java.lang.Boolean>> |
activeDetector |
boolean |
alternateCenter |
java.util.List<java.util.ArrayList<ome.xml.model.primitives.Color>> |
channelColors |
java.lang.String[][] |
channelNames |
int[][] |
channelPrios |
java.util.ArrayList<java.util.ArrayList<Channel>> |
channels |
java.lang.String[] |
corrections |
java.util.ArrayList<java.util.ArrayList<ome.units.quantity.Length>> |
cutIns |
java.util.ArrayList<java.util.ArrayList<ome.units.quantity.Length>> |
cutOuts |
java.lang.String[] |
descriptions |
java.util.ArrayList<java.util.HashMap<java.lang.Integer,java.lang.String>> |
detectorIndexes |
java.util.ArrayList<java.util.ArrayList<java.lang.String>> |
detectorModels |
java.lang.Double[][] |
detectorOffsets |
private java.util.ArrayList<java.util.ArrayList<Dimension>> |
dimensions |
java.lang.Double[][] |
expTimes |
java.lang.Double[][] |
exWaves |
java.util.List<ome.units.quantity.Length> |
fieldPosX |
java.util.List<ome.units.quantity.Length> |
fieldPosY |
java.util.ArrayList<java.util.ArrayList<java.lang.String>> |
filterModels |
boolean[] |
flipX |
boolean[] |
flipY |
java.lang.Double[][] |
gains |
java.lang.String[] |
imageNames |
ROI[][] |
imageROIs |
java.lang.String[] |
immersions |
boolean[] |
inverseRgb |
java.util.ArrayList<java.util.ArrayList<java.lang.Boolean>> |
laserActive |
java.util.ArrayList<java.util.ArrayList<java.lang.Boolean>> |
laserFrap |
java.util.ArrayList<java.util.ArrayList<java.lang.Double>> |
laserIntensity |
java.util.ArrayList<java.util.ArrayList<java.lang.Double>> |
laserWavelength |
java.lang.Double[] |
lensNA |
java.lang.Double[] |
magnification |
java.lang.String[] |
microscopeModels |
java.lang.String[] |
objectiveModels |
java.util.List<java.lang.Double> |
physicalSizeXs |
java.util.List<java.lang.Double> |
physicalSizeYs |
java.lang.Double[] |
pinholes |
ome.units.quantity.Length[] |
posX |
ome.units.quantity.Length[] |
posY |
ome.units.quantity.Length[] |
posZ |
java.lang.Double[] |
refractiveIndex |
java.lang.String[] |
serialNumber |
boolean[] |
swapXY |
long[] |
tileBytesInc |
int[] |
tileCount |
java.lang.Double[][] |
timestamps |
java.lang.Double[] |
tSteps |
java.lang.Double[] |
zooms |
java.lang.Double[] |
zSteps |
Constructor and Description |
---|
MetadataTempBuffer(int len)
Constructs a MetadataTempBuffer for a given number of images.
|
Modifier and Type | Method and Description |
---|---|
void |
addChannelDimension(int coreIndex)
Adds channel dimension
|
void |
addDimension(int imageIndex,
Dimension dimension)
Inserts dimension to buffer and optionally adapts other dimension-dependent values
|
void |
addMissingDimensions(int imageIndex)
Adds Z, T and S dimension if they haven't been added already
|
private <T> java.util.ArrayList<java.util.ArrayList<T>> |
ArrayListOfArrayLists(int rows,
java.lang.Class<T> type) |
private <T,S> java.util.ArrayList<java.util.HashMap<T,S>> |
ArrayListOfHashMaps(int rows,
java.lang.Class<T> key,
java.lang.Class<S> value) |
private long |
getChannelDimensionBytesInc(int coreIndex) |
Dimension |
getDimension(int imageIndex,
Dimension.DimensionKey key) |
java.lang.String |
getDimensionOrder(int imageIndex)
Returns the dimension order as a string
|
java.util.ArrayList<Dimension> |
getDimensions(int imageIndex) |
private void |
sortDimensions(int coreIndex)
Sorts list of existing dimensions by increasing bytesInc, beginning with X and Y, ending with stage position
|
public java.util.List<java.util.ArrayList<ome.xml.model.primitives.Color>> channelColors
public int[][] channelPrios
public java.util.List<java.lang.Double> physicalSizeXs
public java.util.List<java.lang.Double> physicalSizeYs
public java.util.List<ome.units.quantity.Length> fieldPosX
public java.util.List<ome.units.quantity.Length> fieldPosY
public java.lang.String[] descriptions
public java.lang.String[] microscopeModels
public java.lang.String[] serialNumber
public java.lang.Double[] pinholes
public java.lang.Double[] zooms
public java.lang.Double[] zSteps
public java.lang.Double[] tSteps
public java.lang.Double[] lensNA
public boolean[] flipX
public boolean[] flipY
public boolean[] swapXY
public java.lang.Double[][] expTimes
public java.lang.Double[][] gains
public java.lang.Double[][] detectorOffsets
public java.lang.String[][] channelNames
public java.util.ArrayList<java.util.ArrayList<java.lang.String>> detectorModels
public java.lang.Double[][] exWaves
public java.util.ArrayList<java.util.ArrayList<java.lang.Boolean>> activeDetector
public java.util.ArrayList<java.util.HashMap<java.lang.Integer,java.lang.String>> detectorIndexes
public java.lang.String[] immersions
public java.lang.String[] corrections
public java.lang.String[] objectiveModels
public java.lang.Double[] magnification
public ome.units.quantity.Length[] posX
public ome.units.quantity.Length[] posY
public ome.units.quantity.Length[] posZ
public java.lang.Double[] refractiveIndex
public java.util.ArrayList<java.util.ArrayList<ome.units.quantity.Length>> cutIns
public java.util.ArrayList<java.util.ArrayList<ome.units.quantity.Length>> cutOuts
public java.util.ArrayList<java.util.ArrayList<java.lang.String>> filterModels
public java.lang.Double[][] timestamps
public java.util.ArrayList<java.util.ArrayList<java.lang.Double>> laserIntensity
public java.util.ArrayList<java.util.ArrayList<java.lang.Double>> laserWavelength
public java.util.ArrayList<java.util.ArrayList<java.lang.Boolean>> laserActive
public java.util.ArrayList<java.util.ArrayList<java.lang.Boolean>> laserFrap
public ROI[][] imageROIs
public boolean alternateCenter
public java.lang.String[] imageNames
public double[] acquiredDate
public int[] tileCount
public long[] tileBytesInc
public boolean[] inverseRgb
private java.util.ArrayList<java.util.ArrayList<Dimension>> dimensions
public java.util.ArrayList<java.util.ArrayList<Channel>> channels
public MetadataTempBuffer(int len)
len
- Number of images (one per XLIF)public Dimension getDimension(int imageIndex, Dimension.DimensionKey key)
public void addDimension(int imageIndex, Dimension dimension)
imageIndex
- dimension
- public java.lang.String getDimensionOrder(int imageIndex)
imageIndex
- private void sortDimensions(int coreIndex)
coreIndex
- public java.util.ArrayList<Dimension> getDimensions(int imageIndex)
public void addMissingDimensions(int imageIndex)
imageIndex
- public void addChannelDimension(int coreIndex)
coreIndex
- sizeC
- total number of channelsbytesInc
- private long getChannelDimensionBytesInc(int coreIndex)
private <T> java.util.ArrayList<java.util.ArrayList<T>> ArrayListOfArrayLists(int rows, java.lang.Class<T> type)
private <T,S> java.util.ArrayList<java.util.HashMap<T,S>> ArrayListOfHashMaps(int rows, java.lang.Class<T> key, java.lang.Class<S> value)
Copyright © 2023 Open Microscopy Environment