public class ActiveImagePlusPreprocessor extends AbstractSingleInputPreprocessor
Dataset
and ImagePlus
conversion is done properly via wrapping. Until that point, it needs to run
before the ActiveDatasetPreprocessor
.
Assigns the active ImagePlus
when there is one single unresolved
ImagePlus
parameter. Hence, rather than a dialog prompting the user
to choose an ImagePlus
, the active ImagePlus
is used
automatically.
In the case of more than one ImagePlus
parameter, the active
ImagePlus
is not used and instead the user must select. This behavior
is consistent with ImageJ v1.x.
The same process is applied for ImageStack
and ImageProcessor
parameters, using the active ImagePlus
's associated
ImageStack
and active ImageProcessor
slice, respectively.
Constructor and Description |
---|
ActiveImagePlusPreprocessor() |
Modifier and Type | Method and Description |
---|---|
void |
process(Module module) |
getSingleInput
cancel, getCancelReason, isCanceled
context, getContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
context, getContext, setContext
public void process(Module module)
Copyright © 2014–2022 ImageJ. All rights reserved.