Class CutOffCornersObjectFixture

Object
org.anchoranalysis.test.image.object.CutOffCornersObjectFixture

public class CutOffCornersObjectFixture
extends Object
Creates one or more objects that are otherwise rectangles with on values, but with corner voxels as off.
Author:
Owen Feehan
  • Constructor Details

    • CutOffCornersObjectFixture

      public CutOffCornersObjectFixture()
      Create without any check on dimensions.
    • CutOffCornersObjectFixture

      public CutOffCornersObjectFixture​(Dimensions dimensions)
      Create with any check on dimensions.
      Parameters:
      dimensions - a check occurs to make sure objects fit inside these dimensions.
  • Method Details

    • create1

      public org.anchoranalysis.image.voxel.object.ObjectMask create1()
      Create the first object.
      Returns:
      a newly created object.
    • create2

      public org.anchoranalysis.image.voxel.object.ObjectMask create2()
      Create the second object.
      Returns:
      a newly created object.
    • create3

      public org.anchoranalysis.image.voxel.object.ObjectMask create3()
      Create the third object.
      Returns:
      a newly created object.
    • createAll

      public org.anchoranalysis.image.voxel.object.ObjectCollection createAll()
      Creates all three objects.
      Returns:
      collection of newly created objects.