Class Mirror
java.lang.Object
net.preibisch.mvrecon.process.deconvolution.util.Mirror
Mirrors an n-dimensional image along an axis (one of the dimensions).
The calculation is performed in-place and multithreaded.
- Author:
- Stephan Preibisch (stephan.preibisch@gmx.de)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends net.imglib2.type.Type<T>>
booleanmirror(net.imglib2.img.Img<T> image, int dimension, int numThreads)
-
Constructor Details
-
Mirror
public Mirror()
-
-
Method Details
-
mirror
public static <T extends net.imglib2.type.Type<T>> boolean mirror(net.imglib2.img.Img<T> image, int dimension, int numThreads) - Type Parameters:
T- pixel type- Parameters:
image- - TheImgto mirrordimension- - The axis to mirror (e.g. 0->x-Axis->horizontally, 1->y-axis->vertically)numThreads- - number of threads- Returns:
- success? true or false
-