public class Thin extends Object
For example:
1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 1 0 1 0 1 1 1 1 0 -> 1 1 1 0 0 1 1 0 1 0 1 0 0 1 0 1 0 0 0 0 1 0 0 0 0Notice that this implementation decides to returns the above result, instead of this following one, which is equivalently valid:
1 1 1 1 1 1 1 0 1 0 1 1 1 1 0 1 0 0 0 0 1 0 0 0 0
Constructor and Description |
---|
Thin() |
Modifier and Type | Method and Description |
---|---|
static <T extends BooleanType<T>> |
thin(Img<T> source) |
static <T extends BooleanType<T>> |
thin(RandomAccessible<T> source,
IterableInterval<T> target) |
public static <T extends BooleanType<T>> Img<T> thin(Img<T> source)
public static <T extends BooleanType<T>> void thin(RandomAccessible<T> source, IterableInterval<T> target)
Copyright © 2015–2022 ImgLib2. All rights reserved.