public class DefaultAutoscaleService extends AbstractSingletonService<AutoscaleMethod> implements AutoscaleService
| Constructor and Description |
|---|
DefaultAutoscaleService() |
| Modifier and Type | Method and Description |
|---|---|
AutoscaleMethod |
getAutoscaleMethod(String name)
Returns the
AutoscaleMethod associated with the given name. |
List<String> |
getAutoscaleMethodNames()
Returns the names of all available
AutoscaleMethods, ordered by
priority. |
Map<String,AutoscaleMethod> |
getAutoscaleMethods()
Returns a map of available
AutoscaleMethods, indexed by name. |
AutoscaleMethod |
getDefaultAutoscaleMethod()
Returns the default autoscaling method.
|
DataRange |
getDefaultIntervalRange(IterableInterval<? extends RealType<?>> interval)
Calculates the range of interest from the data contained in the given
IterableInterval using the default autoscale method. |
DataRange |
getDefaultRandomAccessRange(RandomAccessibleInterval<? extends RealType<?>> interval)
Calculates the range of interest from the data contained in the given
RandomAccessibleInterval using the default autoscale method. |
Class<AutoscaleMethod> |
getPluginType() |
getInstance, getInstances, objectService, onEvent, onEventpluginServicegetContext, setContext, toStringgetInfo, getPriority, setInfo, setPrioritycontextclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcreate, filterInstances, getInstance, getInstances, initialize, objectServicegetPlugins, getPluginService, pluginServiceregisterEventHandlersgetIdentifier, logcontext, getContext, setContextcompareTo, getPriority, setPrioritygetInfo, setInfogetLocationgetVersiondisposepublic Map<String,AutoscaleMethod> getAutoscaleMethods()
AutoscaleServiceAutoscaleMethods, indexed by name.getAutoscaleMethods in interface AutoscaleServicepublic List<String> getAutoscaleMethodNames()
AutoscaleServiceAutoscaleMethods, ordered by
priority.getAutoscaleMethodNames in interface AutoscaleServicepublic AutoscaleMethod getAutoscaleMethod(String name)
AutoscaleServiceAutoscaleMethod associated with the given name.getAutoscaleMethod in interface AutoscaleServicepublic AutoscaleMethod getDefaultAutoscaleMethod()
AutoscaleServicegetDefaultAutoscaleMethod in interface AutoscaleServicepublic DataRange getDefaultIntervalRange(IterableInterval<? extends RealType<?>> interval)
AutoscaleServiceIterableInterval using the default autoscale method.getDefaultIntervalRange in interface AutoscaleServicepublic DataRange getDefaultRandomAccessRange(RandomAccessibleInterval<? extends RealType<?>> interval)
AutoscaleServiceRandomAccessibleInterval using the default autoscale method.getDefaultRandomAccessRange in interface AutoscaleServicepublic Class<AutoscaleMethod> getPluginType()
getPluginType in interface PTService<AutoscaleMethod>Copyright © 2014–2022 ImageJ. All rights reserved.