public class LociFunctions extends MacroFunctions
IFormatReader interface, with some additional
functions to control the type of format reader used.
Note that public methods in this class can only accept parameters of String,
Double, String[], Double[], and Object[] types. Anything else will prevent
the method from being usable within a macro.| Modifier and Type | Field and Description |
|---|---|
private ImageProcessorReader |
r |
private int |
series |
static String |
URL_JAVADOCS
URL for Javadocs.
|
extensions| Constructor and Description |
|---|
LociFunctions() |
buildExtensions, getExtensionFunctions, handleExtensionpublic static final String URL_JAVADOCS
private ImageProcessorReader r
private int series
public void getRevision(String[] revision)
public void getBuildDate(String[] date)
public void getVersionNumber(String[] version)
public void getImageCount(Double[] imageCount)
public void getSizeX(Double[] sizeX)
public void getSizeY(Double[] sizeY)
public void getSizeZ(Double[] sizeZ)
public void getSizeC(Double[] sizeC)
public void getSizeT(Double[] sizeT)
public void getPixelType(String[] pixelType)
public void getEffectiveSizeC(Double[] effectiveSizeC)
public void getRGBChannelCount(Double[] rgbChannelCount)
public void isIndexed(String[] indexed)
public void getChannelDimCount(Double[] channelDimCount)
public void isLittleEndian(String[] littleEndian)
public void getDimensionOrder(String[] dimOrder)
public void isOrderCertain(String[] orderCertain)
public void isInterleaved(String[] interleaved)
public void openImagePlus(String path)
public void openThumbImagePlus(String path)
public void openThumbImage(String title, Double no) throws FormatException, IOException
FormatExceptionIOExceptionpublic void openImage(String title, Double no) throws FormatException, IOException
FormatExceptionIOExceptionpublic void openSubImage(String title, Double no, Double x, Double y, Double w, Double h) throws FormatException, IOException
FormatExceptionIOExceptionpublic void close()
throws IOException
IOExceptionpublic void closeFileOnly()
throws IOException
IOExceptionpublic void getSeriesCount(Double[] seriesCount)
public void setSeries(Double seriesNum)
public void getSeries(Double[] seriesNum)
public void setNormalized(Boolean normalize)
public void isNormalized(Boolean[] normalize)
public void setOriginalMetadataPopulated(Boolean populate)
public void isOriginalMetadataPopulated(Boolean[] populate)
public void setGroupFiles(String groupFiles)
public void isGroupFiles(String[] groupFiles)
public void isMetadataComplete(String[] complete)
public void fileGroupOption(String id, String[] fileGroupOption) throws FormatException, IOException
FormatExceptionIOExceptionpublic void getUsedFileCount(Double[] count)
public void getCurrentFile(String[] file)
public void setMetadataFiltered(String metadataFiltered)
public void isMetadataFiltered(String[] metadataFiltered)
public void getFormat(String id, String[] format) throws FormatException, IOException
FormatExceptionIOExceptionpublic void setId(String id) throws FormatException, IOException
FormatExceptionIOExceptionpublic void getSeriesName(String[] seriesName)
public void getImageCreationDate(String[] creationDate)
public void getPixelsPhysicalSizeX(Double[] sizeX)
public void getPixelsPhysicalSizeY(Double[] sizeY)
public void getPixelsPhysicalSizeZ(Double[] sizeZ)
public void getPixelsTimeIncrement(Double[] sizeT)
public void run(String arg)
run in interface ij.plugin.PlugInrun in class MacroFunctionsprivate static int getPlaneIndex(IFormatReader r, int no)
Copyright © 2017 Open Microscopy Environment