public class BwN5SingleScaleLegacyMetadata extends org.janelia.saalfeldlab.n5.metadata.AbstractN5Metadata<BwN5SingleScaleLegacyMetadata> implements org.janelia.saalfeldlab.n5.metadata.ImageplusMetadata<BwN5SingleScaleLegacyMetadata>, org.janelia.saalfeldlab.n5.metadata.PhysicalMetadata
Modifier and Type | Field and Description |
---|---|
static String |
AFFINE_TRANSFORM_KEY |
static String |
DOWNSAMPLING_FACTORS_KEY |
static String |
PIXEL_RESOLUTION_KEY |
double[] |
resolution |
AffineTransform3D |
transform |
Constructor and Description |
---|
BwN5SingleScaleLegacyMetadata() |
BwN5SingleScaleLegacyMetadata(String path) |
BwN5SingleScaleLegacyMetadata(String path,
AffineTransform3D transform) |
BwN5SingleScaleLegacyMetadata(String path,
AffineTransform3D transform,
org.janelia.saalfeldlab.n5.DatasetAttributes attributes) |
BwN5SingleScaleLegacyMetadata(String path,
double[] resolution,
org.janelia.saalfeldlab.n5.DatasetAttributes attributes) |
Modifier and Type | Method and Description |
---|---|
boolean |
check(Map<String,Object> metaMap) |
HashMap<String,Class<?>> |
keysToTypes() |
BwN5SingleScaleLegacyMetadata |
parseMetadata(Map<String,Object> metaMap) |
AffineGet |
physicalTransform() |
BwN5SingleScaleLegacyMetadata |
readMetadata(ij.ImagePlus ip) |
String[] |
units() |
void |
writeMetadata(BwN5SingleScaleLegacyMetadata t,
ij.ImagePlus ip) |
void |
writeMetadata(BwN5SingleScaleLegacyMetadata t,
org.janelia.saalfeldlab.n5.N5Writer n5,
String dataset) |
addDatasetAttributeKeys, datasetAtttributeKeys, getAttributes, getPath
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
physicalTransform3d
getAttributes, getGsonBuilder, getPath, registerGsonTypeAdapters
public static final String DOWNSAMPLING_FACTORS_KEY
public static final String PIXEL_RESOLUTION_KEY
public static final String AFFINE_TRANSFORM_KEY
public final AffineTransform3D transform
public final double[] resolution
public BwN5SingleScaleLegacyMetadata(String path, AffineTransform3D transform, org.janelia.saalfeldlab.n5.DatasetAttributes attributes)
public BwN5SingleScaleLegacyMetadata(String path, AffineTransform3D transform)
public BwN5SingleScaleLegacyMetadata(String path)
public BwN5SingleScaleLegacyMetadata()
public BwN5SingleScaleLegacyMetadata(String path, double[] resolution, org.janelia.saalfeldlab.n5.DatasetAttributes attributes)
public HashMap<String,Class<?>> keysToTypes()
keysToTypes
in interface org.janelia.saalfeldlab.n5.metadata.N5MetadataParser<BwN5SingleScaleLegacyMetadata>
public boolean check(Map<String,Object> metaMap)
check
in interface org.janelia.saalfeldlab.n5.metadata.N5MetadataParser<BwN5SingleScaleLegacyMetadata>
public BwN5SingleScaleLegacyMetadata parseMetadata(Map<String,Object> metaMap) throws Exception
parseMetadata
in interface org.janelia.saalfeldlab.n5.metadata.N5MetadataParser<BwN5SingleScaleLegacyMetadata>
Exception
public void writeMetadata(BwN5SingleScaleLegacyMetadata t, org.janelia.saalfeldlab.n5.N5Writer n5, String dataset) throws Exception
writeMetadata
in interface org.janelia.saalfeldlab.n5.metadata.N5MetadataWriter<BwN5SingleScaleLegacyMetadata>
Exception
public void writeMetadata(BwN5SingleScaleLegacyMetadata t, ij.ImagePlus ip) throws IOException
writeMetadata
in interface org.janelia.saalfeldlab.n5.metadata.ImageplusMetadata<BwN5SingleScaleLegacyMetadata>
IOException
public BwN5SingleScaleLegacyMetadata readMetadata(ij.ImagePlus ip) throws IOException
readMetadata
in interface org.janelia.saalfeldlab.n5.metadata.ImageplusMetadata<BwN5SingleScaleLegacyMetadata>
IOException
public AffineGet physicalTransform()
physicalTransform
in interface org.janelia.saalfeldlab.n5.metadata.PhysicalMetadata
public String[] units()
units
in interface org.janelia.saalfeldlab.n5.metadata.PhysicalMetadata
Copyright © 2015–2021 Fiji. All rights reserved.