|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectloci.formats.AggregateMetadataStore
public class AggregateMetadataStore
A metadata store which delegates the actual storage to one or more sub metadata stores.
Constructor Summary | |
---|---|
AggregateMetadataStore(List delegates)
Creates a new instance. |
Method Summary | |
---|---|
void |
addDelegate(MetadataStore delegate)
Adds a delegate to the metadata store. |
void |
createRoot()
Creates a new root object to be used by the metadata store and resets the internal state of the metadata store. |
List |
getDelegates()
Retrieves the current list of metadata store delegates. |
Object |
getRoot()
Unsupported with an AggregateMetadataStore. |
void |
removeDelegate(MetadataStore delegate)
Removes a delegate from the metadata store. |
void |
setArc(String type,
Float power,
Integer lightNdx,
Integer arcNdx)
Sets an arc for a particular instrument. |
void |
setChannelGlobalMinMax(int channel,
Double globalMin,
Double globalMax,
Integer i)
Sets a channel's global min and global max in the metadata store for a particular pixels set. |
void |
setDefaultDisplaySettings(Integer i)
Instructs the metadata store to set the default display settings for a particular pixels set. |
void |
setDetector(String manufacturer,
String model,
String serialNumber,
String type,
Float gain,
Float voltage,
Float offset,
Integer instrumentNdx,
Integer detectorNdx)
Sets a detector for a particular instrument. |
void |
setDichroic(String manufacturer,
String model,
String lotNumber,
Integer dichroicNdx)
Sets a dichroic for a particular instrument. |
void |
setDimensions(Float pixelSizeX,
Float pixelSizeY,
Float pixelSizeZ,
Float pixelSizeC,
Float pixelSizeT,
Integer i)
Creates a set of pixel dimensions in the metadata store with a particular index. |
void |
setDisplayChannel(Integer channelNumber,
Double blackLevel,
Double whiteLevel,
Float gamma,
Integer i)
Sets information about the specified channel for a particular image. |
void |
setDisplayOptions(Float zoom,
Boolean redChannelOn,
Boolean greenChannelOn,
Boolean blueChannelOn,
Boolean displayRGB,
String colorMap,
Integer zstart,
Integer zstop,
Integer tstart,
Integer tstop,
Integer imageNdx,
Integer pixelNdx,
Integer redChannel,
Integer greenChannel,
Integer blueChannel,
Integer grayChannel)
Sets various display options for a particular pixels set. |
void |
setDisplayROI(Integer x0,
Integer y0,
Integer z0,
Integer x1,
Integer y1,
Integer z1,
Integer t0,
Integer t1,
Object displayOptions,
Integer i)
Creates a 5D bounding box region of interest and a set of display options in the metadata store with a particular index. |
void |
setEmissionFilter(String manufacturer,
String model,
String lotNumber,
String type,
Integer filterNdx)
Sets an emission filter for a particular instrument. |
void |
setExcitationFilter(String manufacturer,
String model,
String lotNumber,
String type,
Integer filterNdx)
Sets an excitation filter for a particular instrument. |
void |
setExperimenter(String firstName,
String lastName,
String email,
String institution,
String dataDirectory,
Object group,
Integer i)
Creates an experimenter in the metadata store with a particular index. |
void |
setFilament(String type,
Float power,
Integer lightNdx,
Integer filamentNdx)
Sets a filament for a particular instrument. |
void |
setFilterSet(String manufacturer,
String model,
String lotNumber,
Integer filterSetNdx,
Integer filterNdx)
Sets a filter set for a particular instrument. |
void |
setGroup(String name,
Object leader,
Object contact,
Integer i)
Creates a group in the metadata store with a particular index. |
void |
setImage(String name,
String creationDate,
String description,
Integer i)
Creates an image in the metadata store with a particular index. |
void |
setImagingEnvironment(Float temperature,
Float airPressure,
Float humidity,
Float co2Percent,
Integer i)
Sets the imaging environment for a particular image. |
void |
setInstrument(String manufacturer,
String model,
String serialNumber,
String type,
Integer i)
Creates an instrument in the metadata store with a particular index. |
void |
setLaser(String type,
String medium,
Integer wavelength,
Boolean frequencyDoubled,
Boolean tunable,
String pulse,
Float power,
Integer instrumentNdx,
Integer lightNdx,
Integer pumpNdx,
Integer laserNdx)
Sets a laser for a particular instrument. |
void |
setLightSource(String manufacturer,
String model,
String serialNumber,
Integer instrumentNdx,
Integer lightNdx)
Sets a light source for a particular instrument. |
void |
setLogicalChannel(int channelIdx,
String name,
Integer samplesPerPixel,
Integer filter,
Integer lightSource,
Float lightAttenuation,
Integer lightWavelength,
Integer otf,
Integer detector,
Float detectorOffset,
Float detectorGain,
String illuminationType,
Integer pinholeSize,
String photometricInterpretation,
String mode,
String contrastMethod,
Integer auxLightSource,
Float auxLightAttenuation,
String auxTechnique,
Integer auxLightWavelength,
Integer emWave,
Integer exWave,
String fluor,
Float ndFilter,
Integer i)
Creates a logical channel and physical channel in the metadata store for a particular pixels. |
void |
setObjective(String manufacturer,
String model,
String serialNumber,
Float lensNA,
Float magnification,
Integer instrumentNdx,
Integer objectiveNdx)
Sets an objective for a particular instrument. |
void |
setOTF(Integer sizeX,
Integer sizeY,
String pixelType,
String path,
Boolean opticalAxisAverage,
Integer instrumentNdx,
Integer otfNdx,
Integer filterNdx,
Integer objectiveNdx)
Sets an OTF for a particular instrument. |
void |
setPixels(Integer sizeX,
Integer sizeY,
Integer sizeZ,
Integer sizeC,
Integer sizeT,
Integer pixelType,
Boolean bigEndian,
String dimensionOrder,
Integer imageNo,
Integer pixelsNo)
Creates a pixels set in the metadata store with a particular image and pixels index. |
void |
setPlaneInfo(int theZ,
int theC,
int theT,
Float timestamp,
Float exposureTime,
Integer i)
Sets the plane information for a particular X-Y plane (section) within a particular pixels set. |
void |
setRoot(Object root)
Unsupported with an AggregateMetadataStore. |
void |
setStageLabel(String name,
Float x,
Float y,
Float z,
Integer i)
Creates a stage label in the metadata store with a particular index. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AggregateMetadataStore(List delegates)
delegates
- of type MetadataStore
.Method Detail |
---|
public void addDelegate(MetadataStore delegate)
delegate
- a MetadataStore
public void removeDelegate(MetadataStore delegate)
delegate
- a MetadataStore
public List getDelegates()
MetadataStore
delegates.public void createRoot()
MetadataStore
createRoot
in interface MetadataStore
public Object getRoot()
getRoot
in interface MetadataStore
public void setRoot(Object root)
setRoot
in interface MetadataStore
root
- object that the store can use as its root.public void setChannelGlobalMinMax(int channel, Double globalMin, Double globalMax, Integer i)
MetadataStore
setChannelGlobalMinMax
in interface MetadataStore
channel
- the index of the channel within the pixels set.globalMin
- the global minimum pixel value for the channel.globalMax
- the global maximum pixel value for the channel.i
- the index of the pixels set within the metadata store.public void setDefaultDisplaySettings(Integer i)
MetadataStore
setDefaultDisplaySettings
in interface MetadataStore
i
- the index of the pixels set within the metadata store.public void setDimensions(Float pixelSizeX, Float pixelSizeY, Float pixelSizeZ, Float pixelSizeC, Float pixelSizeT, Integer i)
MetadataStore
setDimensions
in interface MetadataStore
pixelSizeX
- size of an individual pixel's X axis in microns.pixelSizeY
- size of an individual pixel's Y axis in microns.pixelSizeZ
- size of an individual pixel's Z axis in microns.pixelSizeC
- FIXME: UnknownpixelSizeT
- FIXME: Unknowni
- the index to use in the store. If null
the default
index of 0 will be used.public void setDisplayROI(Integer x0, Integer y0, Integer z0, Integer x1, Integer y1, Integer z1, Integer t0, Integer t1, Object displayOptions, Integer i)
MetadataStore
setDisplayROI
in interface MetadataStore
x0
- the starting X coordinate.y0
- the starting Y coordinate.z0
- the starting Z coordinate.x1
- the ending X coordinate.y1
- the ending Y coordinate.z1
- the ending Z coordinate.t0
- the starting timepoint.t1
- the ending timepoint.displayOptions
- the display options to attach to this region of
interest.i
- the index to use in the store. If null
the default
index of 0 will be used.public void setExperimenter(String firstName, String lastName, String email, String institution, String dataDirectory, Object group, Integer i)
MetadataStore
setExperimenter
in interface MetadataStore
firstName
- the first name of the experimenterlastName
- the last name of the experimenteremail
- the e-mail address of the experimenterinstitution
- the institution for which the experimenter belongsdataDirectory
- the fully qualified path to the experimenter's datagroup
- the group to which the experimenter belongsi
- the index to use in the store. If null
the default
index of 0 will be used.public void setGroup(String name, Object leader, Object contact, Integer i)
MetadataStore
setGroup
in interface MetadataStore
name
- the name of the group.leader
- the leader of the group.contact
- the contact for the group.i
- the index to use in the store. If null
the default
index of 0 will be used.public void setImage(String name, String creationDate, String description, Integer i)
MetadataStore
setImage
in interface MetadataStore
name
- the full name of the image.creationDate
- the creation date of the image.description
- the full description of the image.i
- the index to use in the store. If null
the default
index of 0 will be used.public void setInstrument(String manufacturer, String model, String serialNumber, String type, Integer i)
MetadataStore
setInstrument
in interface MetadataStore
manufacturer
- the name of the manufacturer.model
- the model number of the instrument.serialNumber
- the serial number of the instrument.type
- the type of the instrument.i
- the index to use in the store. If null
the default
index of 0 will be used.public void setLogicalChannel(int channelIdx, String name, Integer samplesPerPixel, Integer filter, Integer lightSource, Float lightAttenuation, Integer lightWavelength, Integer otf, Integer detector, Float detectorOffset, Float detectorGain, String illuminationType, Integer pinholeSize, String photometricInterpretation, String mode, String contrastMethod, Integer auxLightSource, Float auxLightAttenuation, String auxTechnique, Integer auxLightWavelength, Integer emWave, Integer exWave, String fluor, Float ndFilter, Integer i)
MetadataStore
setLogicalChannel
in interface MetadataStore
channelIdx
- the index of the channel within the pixels set.name
- the logical channel's name.filter
- index of the filter associated with this channel.lightSource
- index of the primary light source.lightAttenuation
- the primary light source attenuation.lightWavelength
- the primary light source wavelength.otf
- the index of the OTF associated with this channel.detector
- the index of the detector associated with this channel.detectorOffset
- the detector offset.detectorGain
- the detector gain.illuminationType
- the illumination type.pinholeSize
- the size of the pinhole.photometricInterpretation
- the photometric interpretation type.mode
- the acquisition mode.contrastMethod
- the constrast method name.auxLightSource
- index of the auxiliary light source.auxLightAttenuation
- the auxiliary light source attenuation.auxTechnique
- the auxiliary technique type.auxLightWavelength
- the auxiliary light source wavelength.emWave
- the emission wavelength.exWave
- the excitation wavelength.fluor
- the fluorescence type.ndFilter
- the neutral-density filter value.i
- the index of the pixels set within the metadata store.public void setPixels(Integer sizeX, Integer sizeY, Integer sizeZ, Integer sizeC, Integer sizeT, Integer pixelType, Boolean bigEndian, String dimensionOrder, Integer imageNo, Integer pixelsNo)
MetadataStore
setPixels
in interface MetadataStore
sizeX
- size of an individual plane or section's X axis (width)sizeY
- size of an individual plane of section's Y axis (height)sizeZ
- number of optical sections per channel, per timepoint
(per stack)sizeC
- number of channels per timepoint.sizeT
- number of timepoints.pixelType
- the pixel type. One of the enumerated static values
present in FormatReader
.bigEndian
- if the pixels set is big endian or not.dimensionOrder
- the dimension order of the pixels set.imageNo
- the image index to use in the store.
If null
the default index of 0 will be used.pixelsNo
- the pixels index to use in the store.
If null
the default index of 0 will be used.public void setPlaneInfo(int theZ, int theC, int theT, Float timestamp, Float exposureTime, Integer i)
MetadataStore
setPlaneInfo
in interface MetadataStore
theZ
- the optical section index.theC
- the channel index.theT
- the timepoint.timestamp
- the time of acquisition in seconds of the plane (section)
with zero being the start of acquistion.exposureTime
- exposure time in seconds.i
- the index of the pixels set within the metadata store.public void setStageLabel(String name, Float x, Float y, Float z, Integer i)
MetadataStore
setStageLabel
in interface MetadataStore
name
- a name for the stage label.x
- coordinate of the stage.y
- coordinate of the stage.z
- coordinate of the stage.i
- the index to use in the store. If null
the default
index of 0 will be used.public void setImagingEnvironment(Float temperature, Float airPressure, Float humidity, Float co2Percent, Integer i)
MetadataStore
setImagingEnvironment
in interface MetadataStore
public void setDisplayChannel(Integer channelNumber, Double blackLevel, Double whiteLevel, Float gamma, Integer i)
MetadataStore
setDisplayChannel
in interface MetadataStore
public void setDisplayOptions(Float zoom, Boolean redChannelOn, Boolean greenChannelOn, Boolean blueChannelOn, Boolean displayRGB, String colorMap, Integer zstart, Integer zstop, Integer tstart, Integer tstop, Integer imageNdx, Integer pixelNdx, Integer redChannel, Integer greenChannel, Integer blueChannel, Integer grayChannel)
MetadataStore
setDisplayOptions
in interface MetadataStore
public void setLightSource(String manufacturer, String model, String serialNumber, Integer instrumentNdx, Integer lightNdx)
MetadataStore
setLightSource
in interface MetadataStore
public void setLaser(String type, String medium, Integer wavelength, Boolean frequencyDoubled, Boolean tunable, String pulse, Float power, Integer instrumentNdx, Integer lightNdx, Integer pumpNdx, Integer laserNdx)
MetadataStore
setLaser
in interface MetadataStore
public void setFilament(String type, Float power, Integer lightNdx, Integer filamentNdx)
MetadataStore
setFilament
in interface MetadataStore
public void setArc(String type, Float power, Integer lightNdx, Integer arcNdx)
MetadataStore
setArc
in interface MetadataStore
public void setDetector(String manufacturer, String model, String serialNumber, String type, Float gain, Float voltage, Float offset, Integer instrumentNdx, Integer detectorNdx)
MetadataStore
setDetector
in interface MetadataStore
public void setObjective(String manufacturer, String model, String serialNumber, Float lensNA, Float magnification, Integer instrumentNdx, Integer objectiveNdx)
MetadataStore
setObjective
in interface MetadataStore
public void setExcitationFilter(String manufacturer, String model, String lotNumber, String type, Integer filterNdx)
MetadataStore
setExcitationFilter
in interface MetadataStore
public void setDichroic(String manufacturer, String model, String lotNumber, Integer dichroicNdx)
MetadataStore
setDichroic
in interface MetadataStore
public void setEmissionFilter(String manufacturer, String model, String lotNumber, String type, Integer filterNdx)
MetadataStore
setEmissionFilter
in interface MetadataStore
public void setFilterSet(String manufacturer, String model, String lotNumber, Integer filterSetNdx, Integer filterNdx)
MetadataStore
setFilterSet
in interface MetadataStore
public void setOTF(Integer sizeX, Integer sizeY, String pixelType, String path, Boolean opticalAxisAverage, Integer instrumentNdx, Integer otfNdx, Integer filterNdx, Integer objectiveNdx)
MetadataStore
setOTF
in interface MetadataStore
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |