public class MakeTestOmeTiff extends Object
Modifier and Type | Class and Description |
---|---|
private static class |
MakeTestOmeTiff.TextLine |
Modifier and Type | Field and Description |
---|---|
boolean |
isModulo |
int |
sizeCsub |
int |
sizeTsub |
int |
sizeZsub |
Constructor and Description |
---|
MakeTestOmeTiff() |
Modifier and Type | Method and Description |
---|---|
private IMetadata |
createMetadata(String name,
CoreMetadata info) |
private BufferedImage |
createPlane(String name,
CoreMetadata info,
int no) |
private OMETiffWriter |
createWriter(String name,
CoreMetadata info,
String id) |
private void |
displayUsage() |
private void |
ensureNonExisting(String id) |
private String |
getId(String name) |
private int |
gradient(int type,
int num,
int total) |
static void |
main(String[] args) |
int |
makeOmeTiff(String... args) |
void |
makeOmeTiff(String name,
CoreMetadata info) |
void |
makeOmeTiffExtensions(String... args) |
void |
makeSamples() |
private void |
writeData(String name,
CoreMetadata info,
String id,
OMETiffWriter out) |
public int sizeZsub
public int sizeTsub
public int sizeCsub
public boolean isModulo
public void makeSamples() throws FormatException, IOException
FormatException
IOException
public int makeOmeTiff(String... args) throws FormatException, IOException
FormatException
IOException
public void makeOmeTiffExtensions(String... args) throws FormatException, IOException
FormatException
IOException
public void makeOmeTiff(String name, CoreMetadata info) throws FormatException, IOException
FormatException
IOException
public static void main(String[] args) throws FormatException, IOException
FormatException
IOException
private void displayUsage()
private OMETiffWriter createWriter(String name, CoreMetadata info, String id) throws FormatException, IOException
FormatException
IOException
private void writeData(String name, CoreMetadata info, String id, OMETiffWriter out) throws FormatException, IOException
FormatException
IOException
private void ensureNonExisting(String id)
private IMetadata createMetadata(String name, CoreMetadata info) throws loci.common.services.DependencyException, loci.common.services.ServiceException, ome.xml.model.enums.EnumerationException
loci.common.services.DependencyException
loci.common.services.ServiceException
ome.xml.model.enums.EnumerationException
private BufferedImage createPlane(String name, CoreMetadata info, int no)
private int gradient(int type, int num, int total)
Copyright © 2017 Open Microscopy Environment