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 net.imglib2.type.BooleanType<T>> |
thin(net.imglib2.img.Img<T> source) |
static <T extends net.imglib2.type.BooleanType<T>> |
thin(net.imglib2.RandomAccessible<T> source,
net.imglib2.IterableInterval<T> target) |
public static <T extends net.imglib2.type.BooleanType<T>> net.imglib2.img.Img<T> thin(net.imglib2.img.Img<T> source)
public static <T extends net.imglib2.type.BooleanType<T>> void thin(net.imglib2.RandomAccessible<T> source, net.imglib2.IterableInterval<T> target)
Copyright © 2009–2025 ImgLib2. All rights reserved.