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
AutoscaleMethod s, ordered by
priority. |
Map<String,AutoscaleMethod> |
getAutoscaleMethods()
Returns a map of available
AutoscaleMethod s, 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, onEvent
pluginService
getContext, setContext, toString
getInfo, getPriority, setInfo, setPriority
context
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
create, filterInstances, getInstance, getInstances, initialize, objectService
getPlugins, getPluginService, pluginService
registerEventHandlers
getIdentifier, log
context, getContext, setContext
compareTo, getPriority, setPriority
getInfo, setInfo
getLocation
getVersion
dispose
public Map<String,AutoscaleMethod> getAutoscaleMethods()
AutoscaleService
AutoscaleMethod
s, indexed by name.getAutoscaleMethods
in interface AutoscaleService
public List<String> getAutoscaleMethodNames()
AutoscaleService
AutoscaleMethod
s, ordered by
priority.getAutoscaleMethodNames
in interface AutoscaleService
public AutoscaleMethod getAutoscaleMethod(String name)
AutoscaleService
AutoscaleMethod
associated with the given name.getAutoscaleMethod
in interface AutoscaleService
public AutoscaleMethod getDefaultAutoscaleMethod()
AutoscaleService
getDefaultAutoscaleMethod
in interface AutoscaleService
public DataRange getDefaultIntervalRange(IterableInterval<? extends RealType<?>> interval)
AutoscaleService
IterableInterval
using the default autoscale method.getDefaultIntervalRange
in interface AutoscaleService
public DataRange getDefaultRandomAccessRange(RandomAccessibleInterval<? extends RealType<?>> interval)
AutoscaleService
RandomAccessibleInterval
using the default autoscale method.getDefaultRandomAccessRange
in interface AutoscaleService
public Class<AutoscaleMethod> getPluginType()
getPluginType
in interface PTService<AutoscaleMethod>
Copyright © 2014–2022 ImageJ. All rights reserved.