public class StatsQuery extends Object
cStatisticValues object
It allows for selecting specific item IDs, stat names, channels and timepoints. Statistics are returned in the form
of a ResultsTable Multiple images are not directly supported, as we have never had a use for it.
See the example uses in the source code of GetStatisticsDemo| Constructor and Description |
|---|
StatsQuery(Imaris.IDataItemPrx item)
Constructor for getting selected statistics
|
| Modifier and Type | Method and Description |
|---|---|
StatsQuery |
appendTo(ij.measure.ResultsTable results)
Allows appending results from a previous run
|
ij.measure.ResultsTable |
get()
Heavy lifting function that performs the requested operation and returns a table It is rather naive.
|
StatsQuery |
selectChannel(Integer channel)
Allows to select the channel from which to get statistics from
Careful.
|
StatsQuery |
selectChannels(List<Integer> channels)
Allows to set a list of channels from which to get statistics from
Careful.
|
StatsQuery |
selectId(Integer id)
Allows for the selection of a specific ID.
|
StatsQuery |
selectIds(List<Integer> ids)
Allows to set a list of IDs from which to get statistics from
|
StatsQuery |
selectStatistic(String name)
Allows to select the name of the statistic to export.
|
StatsQuery |
selectStatistics(List<String> names)
Allows to set a list of IDs from which to get statistics from
|
StatsQuery |
selectTime(Integer timepoint)
Allows to select the timepoint of the statistics to export.
|
StatsQuery |
selectTimes(List<Integer> timepoints)
Allows to set a list of timepoints from which to get statistics from
Careful.
|
public StatsQuery(Imaris.IDataItemPrx item)
throws Imaris.Error
item - the Imaris object from which we want statistics (Spots, Surfaces, ...)Imaris.Error - an Imaris Error Objectpublic StatsQuery selectId(Integer id)
id - the ID to recover statistics frompublic StatsQuery selectIds(List<Integer> ids)
ids - the list of IDs to recover statistics frompublic StatsQuery selectStatistic(String name)
selectChannels(List) and selectChannel(Integer) to specify channelsname - the name of the statistic to recover as it appears in the Imaris GUI.public StatsQuery selectStatistics(List<String> names)
names - the list of statistic names to recover as they appear in the Imaris GUIpublic StatsQuery selectTime(Integer timepoint)
timepoint - the timepointpublic StatsQuery selectTimes(List<Integer> timepoints)
timepoints - public StatsQuery selectChannel(Integer channel)
channel - public StatsQuery selectChannels(List<Integer> channels)
channels - public StatsQuery appendTo(ij.measure.ResultsTable results)
results - a results table from ImageJ or from a finished StatsQuerypublic ij.measure.ResultsTable get()
throws Imaris.Error
Imaris.ErrorCopyright © 2011–2020 SciJava. All rights reserved.