public class TypeChanger<U extends RealType<U>,V extends RealType<V> & NativeType<V>> extends DynamicCommand
Dataset
. The
DataType
of the data is chosen from the types discovered at runtime
by the DataTypeService
. Channels can be combined in the process if
desired. Combination is done via channel averaging. After conversion data
values are preserved as much as possible but do get clamped to the new data
type's valid range.moduleService, pluginService
Constructor and Description |
---|
TypeChanger() |
Modifier and Type | Method and Description |
---|---|
protected void |
init() |
void |
run() |
cancel, context, getCancelReason, getContext, getInfo, getInput, getOutput, isCanceled, saveInputs, setContext, setInput, setOutput, uncancel
cancel, getDelegateObject, getInputs, getOutputs, initialize, isInputResolved, isOutputResolved, preview, resolveInput, resolveOutput, setInputs, setOutputs, unresolveInput, unresolveOutput
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addInput, addInput, addOutput, addOutput, removeInput, removeOutput
cancel, getDelegateObject, getInputs, getOutputs, initialize, isInputResolved, isOutputResolved, isResolved, preview, resolveInput, resolveOutput, setInputs, setOutputs, setResolved, unresolveInput, unresolveOutput
Copyright © 2014–2022 ImageJ. All rights reserved.