Package net.imglib2.outofbounds
Class OutOfBoundsMirrorFactory<T,F extends Interval & RandomAccessible<T>>
- java.lang.Object
-
- net.imglib2.outofbounds.OutOfBoundsMirrorFactory<T,F>
-
- Type Parameters:
T-
- All Implemented Interfaces:
OutOfBoundsFactory<T,F>
public class OutOfBoundsMirrorFactory<T,F extends Interval & RandomAccessible<T>> extends java.lang.Object implements OutOfBoundsFactory<T,F>
Create appropriate strategies that virtually mirror aRandomAccessibleat its boundaries. Boundary pixels are either duplicated or not. Note that if boundary pixels should not be duplicated then all dimensions of the source (F f) must be > 1.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOutOfBoundsMirrorFactory.Boundary
-
Field Summary
Fields Modifier and Type Field Description protected OutOfBoundsMirrorFactory.Boundaryboundary
-
Constructor Summary
Constructors Constructor Description OutOfBoundsMirrorFactory(OutOfBoundsMirrorFactory.Boundary boundary)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractOutOfBoundsMirror<T>create(F f)OutOfBoundsMirrorFactory.BoundarygetBoundary()
-
-
-
Field Detail
-
boundary
protected final OutOfBoundsMirrorFactory.Boundary boundary
-
-
Constructor Detail
-
OutOfBoundsMirrorFactory
public OutOfBoundsMirrorFactory(OutOfBoundsMirrorFactory.Boundary boundary)
-
-
Method Detail
-
create
public AbstractOutOfBoundsMirror<T> create(F f)
- Specified by:
createin interfaceOutOfBoundsFactory<T,F extends Interval & RandomAccessible<T>>
-
getBoundary
public OutOfBoundsMirrorFactory.Boundary getBoundary()
-
-