T - The input- and output-Image type.public abstract class StatisticalOperation<T extends RealType<T>> extends ROIAlgorithm<T,T>
Image, and collecting a sorted list of the pixels "covered" by
a StructuringElement. This list is made available to children classes, which are
responsible for setting the pixel value at the current position in the output Image.| Modifier and Type | Class and Description |
|---|---|
class |
StatisticalOperation.SimpleCollectionStrategy<R extends RealType<R>>
Simple, dumb statistics collection implementation.
|
static interface |
StatisticalOperation.StatisticsCollectionStrategy<R extends RealType<R>>
Implements a strategy for populating the sorted list associated with this
StatisticalOperation.
|
| Constructor and Description |
|---|
StatisticalOperation(Image<T> imageIn,
StructuringElement strel) |
StatisticalOperation(Image<T> imageIn,
StructuringElement inStrel,
OutOfBoundsStrategyFactory<T> inOutFactory) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkInput() |
void |
close() |
int[] |
getLastPosition() |
protected LinkedList<T> |
getList() |
StructuringElement |
getStrel() |
boolean |
isInit() |
protected boolean |
patchOperation(int[] position,
RegionOfInterestCursor<T> cursor)
Performs this algorithm's operation on the patch represented by a
RegionOfInterestCursor |
void |
reset() |
protected abstract void |
statsOp(LocalizableByDimCursor<T> cursor)
Perform the order statistic operation, then set the value of the type of the given cursor.
|
getErrorMessage, getName, getOutputImage, getPatchSize, getProcessingTime, getResult, positionOffset, process, setErrorMessage, setImageFactory, setNamepublic StatisticalOperation(Image<T> imageIn, StructuringElement strel)
public StatisticalOperation(Image<T> imageIn, StructuringElement inStrel, OutOfBoundsStrategyFactory<T> inOutFactory)
public void reset()
public boolean isInit()
public StructuringElement getStrel()
protected LinkedList<T> getList()
public int[] getLastPosition()
public void close()
public boolean checkInput()
checkInput in interface AlgorithmcheckInput in class ROIAlgorithm<T extends RealType<T>,T extends RealType<T>>protected boolean patchOperation(int[] position,
RegionOfInterestCursor<T> cursor)
ROIAlgorithmRegionOfInterestCursorpatchOperation in class ROIAlgorithm<T extends RealType<T>,T extends RealType<T>>position - the position in the input image at the center of the patch represented by
the RegionOfInterestCursorcursor - a RegionOfInterestCursor that iterates over the given
patch-of-interestprotected abstract void statsOp(LocalizableByDimCursor<T> cursor)
cursor - Copyright © 2015–2021 Fiji. All rights reserved.