Class MirroringBorder3D

java.lang.Object
inra.ijpb.data.border.MirroringBorder3D
All Implemented Interfaces:
BorderManager3D

public class MirroringBorder3D
extends java.lang.Object
implements BorderManager3D
Periodic border that considers image is mirrored indefinitely in all directions.
Author:
David Legland
  • Nested Class Summary

    Nested classes/interfaces inherited from interface inra.ijpb.data.border.BorderManager3D

    BorderManager3D.Type
  • Constructor Summary

    Constructors
    Constructor Description
    MirroringBorder3D​(ij.ImageStack image)
    Creates a new Mirroring Border Manager
  • Method Summary

    Modifier and Type Method Description
    int get​(int x, int y, int z)
    Returns the value corresponding to (x,y) position.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface inra.ijpb.data.border.BorderManager3D

    addBorders
  • Constructor Details

    • MirroringBorder3D

      public MirroringBorder3D​(ij.ImageStack image)
      Creates a new Mirroring Border Manager
      Parameters:
      image - the image to expand
  • Method Details

    • get

      public int get​(int x, int y, int z)
      Description copied from interface: BorderManager3D
      Returns the value corresponding to (x,y) position. Position can be outside original image bounds.
      Specified by:
      get in interface BorderManager3D
      Parameters:
      x - column index of the position
      y - row index of the position
      z - slice index of the position
      Returns:
      border corrected value
      See Also:
      BorderManager.get(int, int)