public class OmeroReader extends FormatReader
IFormatReader
for use in export from an OMERO Beta 4.2.x database.Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_PORT |
core, coreIndex, datasetDescription, domains, filterMetadata, flattenedResolutions, hasCompanionFiles, in, indexedAsRGB, metadata, metadataOptions, metadataStore, normalizeData, resolution, saveOriginalMetadata, series, suffixNecessary, suffixSufficient, THUMBNAIL_DIMENSION
COMPRESSION_SUFFIXES, currentId, format, LOGGER, suffixes
CAN_GROUP, CANNOT_GROUP, MUST_GROUP
Constructor and Description |
---|
OmeroReader() |
Modifier and Type | Method and Description |
---|---|
void |
close(boolean fileOnly) |
protected void |
initFile(String id) |
boolean |
isThisType(String name,
boolean open) |
static void |
main(String[] args)
A simple command line tool for downloading images from OMERO.
|
byte[] |
openBytes(int no,
byte[] buf,
int x,
int y,
int w,
int h) |
protected static String |
parsePoints(String str)
Parse Points String obtained from convertPoints and extract Coordinates as String
|
static void |
saveOmeroRoiToMetadataStore(List<omero.model.Roi> rois,
MetadataStore store)
Converts omero.model.Roi to ome.xml.model.* and updates the MetadataStore
|
void |
setEncrypted(boolean encrypted) |
void |
setGroupID(Long groupID) |
void |
setGroupName(String group) |
void |
setPassword(String password) |
void |
setPort(int port) |
void |
setServer(String server) |
void |
setSessionID(String sessionID) |
void |
setUsername(String username) |
addGlobalMeta, addGlobalMeta, addGlobalMeta, addGlobalMeta, addGlobalMeta, addGlobalMeta, addGlobalMeta, addGlobalMeta, addGlobalMeta, addGlobalMetaList, addMeta, addMetaList, addSeriesMeta, addSeriesMeta, addSeriesMeta, addSeriesMeta, addSeriesMeta, addSeriesMeta, addSeriesMeta, addSeriesMeta, addSeriesMeta, addSeriesMetaList, close, coreIndexToSeries, fileGroupOption, flattenHashtables, get16BitLookupTable, get8BitLookupTable, getAcquisitionMode, getAdvancedSeriesUsedFiles, getAdvancedUsedFiles, getArcType, getBinning, getBitsPerPixel, getCompression, getContrastMethod, getCoreIndex, getCoreMetadataList, getCorrection, getCurrentFile, getDatasetStructureDescription, getDetectorType, getDimensionOrder, getDimensionOrder, getDomains, getEffectiveSizeC, getExperimentType, getFilamentType, getFillRule, getFilterType, getFontFamily, getFontStyle, getGlobalMeta, getGlobalMetadata, getIlluminationType, getImageCount, getImmersion, getIndex, getIndex, getLaserMedium, getLaserType, getLineCap, getMarker, getMedium, getMetadataOptions, getMetadataStore, getMetadataStoreRoot, getMetadataValue, getMicrobeamManipulationType, getMicroscopeType, getModuloC, getModuloT, getModuloZ, getNamingConvention, getOptimalTileHeight, getOptimalTileWidth, getPixelType, getPixelType, getPossibleDomains, getPulse, getRequiredDirectories, getResolution, getResolutionCount, getRGBChannelCount, getRotationTransform, getSeries, getSeriesCount, getSeriesMeta, getSeriesMetadata, getSeriesMetadataValue, getSeriesUsedFiles, getSeriesUsedFiles, getSizeC, getSizeT, getSizeX, getSizeY, getSizeZ, getSupportedMetadataLevels, getThumbSizeX, getThumbSizeY, getUnderlyingReaders, getUsedFiles, getUsedFiles, getZCTCoords, getZCTModuloCoords, hasCompanionFiles, hasFlattenedResolutions, isFalseColor, isGroupFiles, isIndexed, isInterleaved, isInterleaved, isLittleEndian, isMetadataComplete, isMetadataFiltered, isNormalized, isOrderCertain, isOriginalMetadataPopulated, isRGB, isSingleFile, isThisType, isThisType, isThisType, isThumbnailSeries, isUsedFile, makeFilterMetadata, openBytes, openBytes, openBytes, openPlane, openThumbBytes, readPlane, readPlane, reopenFile, seriesToCoreIndex, setCoreIndex, setFlattenedResolutions, setGroupFiles, setId, setMetadataFiltered, setMetadataOptions, setMetadataStore, setNormalized, setOriginalMetadataPopulated, setResolution, setSeries
checkSuffix, checkSuffix, getFormat, getNativeDataType, getSuffixes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFormat, getNativeDataType, getSuffixes
public static final int DEFAULT_PORT
public void setServer(String server)
public void setPort(int port)
public void setUsername(String username)
public void setPassword(String password)
public void setSessionID(String sessionID)
public void setEncrypted(boolean encrypted)
public void setGroupName(String group)
public void setGroupID(Long groupID)
public boolean isThisType(String name, boolean open)
isThisType
in interface IFormatReader
isThisType
in class FormatReader
public byte[] openBytes(int no, byte[] buf, int x, int y, int w, int h) throws FormatException, IOException
openBytes
in interface IFormatReader
openBytes
in class FormatReader
FormatException
IOException
public void close(boolean fileOnly) throws IOException
close
in interface IFormatReader
close
in class FormatReader
IOException
protected void initFile(String id) throws FormatException, IOException
initFile
in class FormatReader
FormatException
IOException
public static void main(String[] args) throws Exception
Exception
public static void saveOmeroRoiToMetadataStore(List<omero.model.Roi> rois, MetadataStore store)
Version: 5.2.8-ice35-b57
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.