public class Outline<B extends BooleanType<B>> extends AbstractBinaryHybridCF<RandomAccessibleInterval<B>,Boolean,RandomAccessibleInterval<BitType>> implements Ops.Morphology.Outline
SpecialOp.FlavorNAME| Constructor and Description |
|---|
Outline() |
| Modifier and Type | Method and Description |
|---|---|
void |
compute(RandomAccessibleInterval<B> input,
Boolean excludeEdges,
RandomAccessibleInterval<BitType> output)
Copies the outlines of the objects in the input interval into the output
|
RandomAccessibleInterval<BitType> |
createOutput(RandomAccessibleInterval<B> input,
Boolean input2)
Create an output object given two inputs.
|
in1, in2, out, setInput1, setInput2, setOutputops, setEnvironmentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitops, setEnvironmentcalculate, calculate, createOutput, getIndependentInstance, run, runcomputein, in1, in2, setInput, setInput1, setInput2calculate, createOutput, runcomputerunsetOutputcandidates, filterArity, opinitializepublic RandomAccessibleInterval<BitType> createOutput(RandomAccessibleInterval<B> input, Boolean input2)
BinaryOutputFactorycreateOutput in interface BinaryOutputFactory<RandomAccessibleInterval<B extends BooleanType<B>>,Boolean,RandomAccessibleInterval<BitType>>input - first input which determines how to create the outputinput2 - second input which determines how to create the outputpublic void compute(RandomAccessibleInterval<B> input, Boolean excludeEdges, RandomAccessibleInterval<BitType> output)
compute in interface BinaryComputerOp<RandomAccessibleInterval<B extends BooleanType<B>>,Boolean,RandomAccessibleInterval<BitType>>input - an N-dimensional binary intervalexcludeEdges - are elements on stack edges outline or not
For example, a 2D square:
0 0 0 0
1 1 1 0
E 1 1 0
1 1 1 0
0 0 0 0
Element E is removed if parameter true, kept if false
output - outlines of the objects in intervalCopyright © 2014–2022 ImageJ. All rights reserved.