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 java.lang.String |
URL_JAVADOCS
URL for Javadocs.
|
extensions
Constructor and Description |
---|
LociFunctions() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
closeFileOnly() |
void |
fileGroupOption(java.lang.String id,
java.lang.String[] fileGroupOption) |
void |
getBuildDate(java.lang.String[] date) |
void |
getChannelDimCount(java.lang.Double[] channelDimCount) |
void |
getChannelDimLength(java.lang.Double i,
java.lang.Double[] channelDimLength) |
void |
getChannelDimType(java.lang.Double i,
java.lang.Double[] channelDimType) |
void |
getCurrentFile(java.lang.String[] file) |
void |
getDimensionOrder(java.lang.String[] dimOrder) |
void |
getEffectiveSizeC(java.lang.Double[] effectiveSizeC) |
void |
getFormat(java.lang.String id,
java.lang.String[] format) |
void |
getImageCount(java.lang.Double[] imageCount) |
void |
getImageCreationDate(java.lang.String[] creationDate) |
void |
getIndex(java.lang.Double z,
java.lang.Double c,
java.lang.Double t,
java.lang.Double[] index) |
void |
getMetadataValue(java.lang.String field,
java.lang.String[] value) |
void |
getPixelsPhysicalSizeX(java.lang.Double[] sizeX) |
void |
getPixelsPhysicalSizeY(java.lang.Double[] sizeY) |
void |
getPixelsPhysicalSizeZ(java.lang.Double[] sizeZ) |
void |
getPixelsTimeIncrement(java.lang.Double[] sizeT) |
void |
getPixelType(java.lang.String[] pixelType) |
private static int |
getPlaneIndex(IFormatReader r,
int no)
Finds the Plane index corresponding to the given image plane number.
|
void |
getPlanePositionX(java.lang.Double[] positionX,
java.lang.Double no) |
void |
getPlanePositionY(java.lang.Double[] positionY,
java.lang.Double no) |
void |
getPlanePositionZ(java.lang.Double[] positionZ,
java.lang.Double no) |
void |
getPlaneTimingDeltaT(java.lang.Double[] deltaT,
java.lang.Double no) |
void |
getPlaneTimingExposureTime(java.lang.Double[] exposureTime,
java.lang.Double no) |
void |
getRevision(java.lang.String[] revision) |
void |
getRGBChannelCount(java.lang.Double[] rgbChannelCount) |
void |
getSeries(java.lang.Double[] seriesNum) |
void |
getSeriesCount(java.lang.Double[] seriesCount) |
void |
getSeriesMetadataValue(java.lang.String field,
java.lang.String[] value) |
void |
getSeriesName(java.lang.String[] seriesName) |
void |
getSizeC(java.lang.Double[] sizeC) |
void |
getSizeT(java.lang.Double[] sizeT) |
void |
getSizeX(java.lang.Double[] sizeX) |
void |
getSizeY(java.lang.Double[] sizeY) |
void |
getSizeZ(java.lang.Double[] sizeZ) |
void |
getUsedFile(java.lang.Double i,
java.lang.String[] used) |
void |
getUsedFileCount(java.lang.Double[] count) |
void |
getVersionNumber(java.lang.String[] version) |
void |
getZCTCoords(java.lang.Double index,
java.lang.Double[] z,
java.lang.Double[] c,
java.lang.Double[] t) |
void |
isGroupFiles(java.lang.String[] groupFiles) |
void |
isIndexed(java.lang.String[] indexed) |
void |
isInterleaved(java.lang.String[] interleaved) |
void |
isInterleavedSubC(java.lang.Double subC,
java.lang.String[] interleaved) |
void |
isLittleEndian(java.lang.String[] littleEndian) |
void |
isMetadataComplete(java.lang.String[] complete) |
void |
isMetadataFiltered(java.lang.String[] metadataFiltered) |
void |
isNormalized(java.lang.Boolean[] normalize) |
void |
isOrderCertain(java.lang.String[] orderCertain) |
void |
isOriginalMetadataPopulated(java.lang.Boolean[] populate) |
void |
isThisType(java.lang.String name,
java.lang.String[] thisType) |
void |
isThisTypeFast(java.lang.String name,
java.lang.String[] thisType) |
void |
openImage(java.lang.String title,
java.lang.Double no) |
void |
openImagePlus(java.lang.String path) |
void |
openSubImage(java.lang.String title,
java.lang.Double no,
java.lang.Double x,
java.lang.Double y,
java.lang.Double w,
java.lang.Double h) |
void |
openThumbImage(java.lang.String title,
java.lang.Double no) |
void |
openThumbImagePlus(java.lang.String path) |
void |
run(java.lang.String arg) |
void |
setGroupFiles(java.lang.String groupFiles) |
void |
setId(java.lang.String id) |
void |
setMetadataFiltered(java.lang.String metadataFiltered) |
void |
setNormalized(java.lang.Boolean normalize) |
void |
setOriginalMetadataPopulated(java.lang.Boolean populate) |
void |
setSeries(java.lang.Double seriesNum) |
buildExtensions, getExtensionFunctions, handleExtension
public static final java.lang.String URL_JAVADOCS
private ImageProcessorReader r
private int series
public void getRevision(java.lang.String[] revision)
public void getBuildDate(java.lang.String[] date)
public void getVersionNumber(java.lang.String[] version)
public void getImageCount(java.lang.Double[] imageCount)
public void getSizeX(java.lang.Double[] sizeX)
public void getSizeY(java.lang.Double[] sizeY)
public void getSizeZ(java.lang.Double[] sizeZ)
public void getSizeC(java.lang.Double[] sizeC)
public void getSizeT(java.lang.Double[] sizeT)
public void getPixelType(java.lang.String[] pixelType)
public void getEffectiveSizeC(java.lang.Double[] effectiveSizeC)
public void getRGBChannelCount(java.lang.Double[] rgbChannelCount)
public void isIndexed(java.lang.String[] indexed)
public void getChannelDimCount(java.lang.Double[] channelDimCount)
public void getChannelDimLength(java.lang.Double i, java.lang.Double[] channelDimLength)
public void getChannelDimType(java.lang.Double i, java.lang.Double[] channelDimType)
public void isLittleEndian(java.lang.String[] littleEndian)
public void getDimensionOrder(java.lang.String[] dimOrder)
public void isOrderCertain(java.lang.String[] orderCertain)
public void isInterleaved(java.lang.String[] interleaved)
public void isInterleavedSubC(java.lang.Double subC, java.lang.String[] interleaved)
public void openImagePlus(java.lang.String path)
public void openThumbImagePlus(java.lang.String path)
public void openThumbImage(java.lang.String title, java.lang.Double no) throws FormatException, java.io.IOException
FormatException
java.io.IOException
public void openImage(java.lang.String title, java.lang.Double no) throws FormatException, java.io.IOException
FormatException
java.io.IOException
public void openSubImage(java.lang.String title, java.lang.Double no, java.lang.Double x, java.lang.Double y, java.lang.Double w, java.lang.Double h) throws FormatException, java.io.IOException
FormatException
java.io.IOException
public void close() throws java.io.IOException
java.io.IOException
public void closeFileOnly() throws java.io.IOException
java.io.IOException
public void getSeriesCount(java.lang.Double[] seriesCount)
public void setSeries(java.lang.Double seriesNum)
public void getSeries(java.lang.Double[] seriesNum)
public void setNormalized(java.lang.Boolean normalize)
public void isNormalized(java.lang.Boolean[] normalize)
public void setOriginalMetadataPopulated(java.lang.Boolean populate)
public void isOriginalMetadataPopulated(java.lang.Boolean[] populate)
public void setGroupFiles(java.lang.String groupFiles)
public void isGroupFiles(java.lang.String[] groupFiles)
public void isMetadataComplete(java.lang.String[] complete)
public void fileGroupOption(java.lang.String id, java.lang.String[] fileGroupOption) throws FormatException, java.io.IOException
FormatException
java.io.IOException
public void getUsedFileCount(java.lang.Double[] count)
public void getUsedFile(java.lang.Double i, java.lang.String[] used)
public void getCurrentFile(java.lang.String[] file)
public void getIndex(java.lang.Double z, java.lang.Double c, java.lang.Double t, java.lang.Double[] index)
public void getZCTCoords(java.lang.Double index, java.lang.Double[] z, java.lang.Double[] c, java.lang.Double[] t)
public void getMetadataValue(java.lang.String field, java.lang.String[] value)
public void getSeriesMetadataValue(java.lang.String field, java.lang.String[] value)
public void setMetadataFiltered(java.lang.String metadataFiltered)
public void isMetadataFiltered(java.lang.String[] metadataFiltered)
public void getFormat(java.lang.String id, java.lang.String[] format) throws FormatException, java.io.IOException
FormatException
java.io.IOException
public void setId(java.lang.String id) throws FormatException, java.io.IOException
FormatException
java.io.IOException
public void isThisType(java.lang.String name, java.lang.String[] thisType)
public void isThisTypeFast(java.lang.String name, java.lang.String[] thisType)
public void getSeriesName(java.lang.String[] seriesName)
public void getImageCreationDate(java.lang.String[] creationDate)
public void getPlaneTimingDeltaT(java.lang.Double[] deltaT, java.lang.Double no)
public void getPlaneTimingExposureTime(java.lang.Double[] exposureTime, java.lang.Double no)
public void getPlanePositionX(java.lang.Double[] positionX, java.lang.Double no)
public void getPlanePositionY(java.lang.Double[] positionY, java.lang.Double no)
public void getPlanePositionZ(java.lang.Double[] positionZ, java.lang.Double no)
public void getPixelsPhysicalSizeX(java.lang.Double[] sizeX)
public void getPixelsPhysicalSizeY(java.lang.Double[] sizeY)
public void getPixelsPhysicalSizeZ(java.lang.Double[] sizeZ)
public void getPixelsTimeIncrement(java.lang.Double[] sizeT)
public void run(java.lang.String arg)
run
in interface ij.plugin.PlugIn
run
in class MacroFunctions
private static int getPlaneIndex(IFormatReader r, int no)
Copyright © 2017 Open Microscopy Environment