public class Clean extends Abstract3x3TableOperation
For example:
0 0 0 0 0 0 0 1 0 -> 0 0 0 0 0 0 0 0 0
Constructor and Description |
---|
Clean() |
Modifier and Type | Method and Description |
---|---|
static <T extends BooleanType<T>> |
clean(Img<T> source) |
static <T extends BooleanType<T>> |
clean(RandomAccessible<T> source,
IterableInterval<T> target) |
protected boolean |
getExtendedValue()
Gets default value for neighborhood pixels outside of the image.
|
protected boolean[] |
getTable()
The index to the table that's returned is built by examining each pixel
and accumulating 2^pixel number.
|
calculate, calculate
protected boolean[] getTable()
Abstract3x3TableOperation
0 1 2 3 4 5 6 7 8
getTable
in class Abstract3x3TableOperation
protected boolean getExtendedValue()
Abstract3x3TableOperation
getExtendedValue
in class Abstract3x3TableOperation
public static <T extends BooleanType<T>> Img<T> clean(Img<T> source)
public static <T extends BooleanType<T>> void clean(RandomAccessible<T> source, IterableInterval<T> target)
Copyright © 2015–2022 ImgLib2. All rights reserved.