Class MetadataTempBuffer
java.lang.Object
loci.formats.in.LeicaMicrosystemsMetadata.MetadataTempBuffer
This class is used to temporarily store metadata information extracted from
Leica XML before it is written to the reader's MetadataStore
- Author:
- Melissa Linkert melissa at glencoesoftware.com, Constanze Wendlandt constanze.wendlandt at leica-microsystems.com
-
Field Summary
FieldsModifier and TypeFieldDescriptiondouble[]booleanString[][]int[][]String[]String[]Double[][]Double[][]Double[][]List<ome.units.quantity.Length> List<ome.units.quantity.Length> boolean[]boolean[]Double[][]String[]ROI[][]String[]boolean[]Double[]Double[]String[]String[]Double[]ome.units.quantity.Length[]ome.units.quantity.Length[]ome.units.quantity.Length[]Double[]String[]boolean[]long[]int[]Double[][]Double[]Double[]Double[] -
Constructor Summary
ConstructorsConstructorDescriptionMetadataTempBuffer(int len) Constructs a MetadataTempBuffer for a given number of images. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddChannelDimension(int coreIndex) Adds channel dimensionvoidaddDimension(int imageIndex, Dimension dimension) Inserts dimension to buffer and optionally adapts other dimension-dependent valuesvoidaddMissingDimensions(int imageIndex) Adds Z, T and S dimension if they haven't been added alreadyArrayListOfArrayLists(int rows, Class<T> type) ArrayListOfHashMaps(int rows, Class<T> key, Class<S> value) private longgetChannelDimensionBytesInc(int coreIndex) getDimension(int imageIndex, Dimension.DimensionKey key) getDimensionOrder(int imageIndex) Returns the dimension order as a stringgetDimensions(int imageIndex) private voidsortDimensions(int coreIndex) Sorts list of existing dimensions by increasing bytesInc, beginning with X and Y, ending with stage position
-
Field Details
-
channelColors
-
channelPrios
public int[][] channelPrios -
physicalSizeXs
-
physicalSizeYs
-
fieldPosX
-
fieldPosY
-
descriptions
-
microscopeModels
-
serialNumber
-
pinholes
-
zooms
-
zSteps
-
tSteps
-
lensNA
-
flipX
public boolean[] flipX -
flipY
public boolean[] flipY -
swapXY
public boolean[] swapXY -
expTimes
-
gains
-
detectorOffsets
-
channelNames
-
detectorModels
-
exWaves
-
activeDetector
-
detectorIndexes
-
immersions
-
corrections
-
objectiveModels
-
magnification
-
posX
public ome.units.quantity.Length[] posX -
posY
public ome.units.quantity.Length[] posY -
posZ
public ome.units.quantity.Length[] posZ -
refractiveIndex
-
cutIns
-
cutOuts
-
filterModels
-
timestamps
-
laserIntensity
-
laserWavelength
-
laserActive
-
laserFrap
-
imageROIs
-
alternateCenter
public boolean alternateCenter -
imageNames
-
acquiredDate
public double[] acquiredDate -
tileCount
public int[] tileCount -
tileBytesInc
public long[] tileBytesInc -
inverseRgb
public boolean[] inverseRgb -
dimensions
-
channels
-
-
Constructor Details
-
MetadataTempBuffer
public MetadataTempBuffer(int len) Constructs a MetadataTempBuffer for a given number of images.- Parameters:
len- Number of images (one per XLIF)
-
-
Method Details
-
getDimension
-
addDimension
Inserts dimension to buffer and optionally adapts other dimension-dependent values- Parameters:
imageIndex-dimension-
-
getDimensionOrder
Returns the dimension order as a string- Parameters:
imageIndex-- Returns:
- dimension order string, as it is expected in CoreMetadata.dimensionOrder
-
sortDimensions
private void sortDimensions(int coreIndex) Sorts list of existing dimensions by increasing bytesInc, beginning with X and Y, ending with stage position- Parameters:
coreIndex-
-
getDimensions
-
addMissingDimensions
public void addMissingDimensions(int imageIndex) Adds Z, T and S dimension if they haven't been added already- Parameters:
imageIndex-
-
addChannelDimension
public void addChannelDimension(int coreIndex) Adds channel dimension- Parameters:
coreIndex-
-
getChannelDimensionBytesInc
private long getChannelDimensionBytesInc(int coreIndex) -
ArrayListOfArrayLists
-
ArrayListOfHashMaps
-