java.lang.Object
net.preibisch.mvrecon.process.deconvolution.util.Mirror

public class Mirror extends Object
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 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 - - The Img to mirror
      dimension - - The axis to mirror (e.g. 0->x-Axis->horizontally, 1->y-axis->vertically)
      numThreads - - number of threads
      Returns:
      success? true or false