Class FeatureInputOverlappingCircleFixture

Object
FeatureInputOverlappingCircleFixture

public class FeatureInputOverlappingCircleFixture extends Object
A fixture for creating FeatureInputPairObjects with circular object masks.

This class provides utility methods to create pairs of circular object masks with different configurations of overlap and size for testing purposes.

  • Method Details

    • twoOverlappingCircles

      public static FeatureInputPairObjects twoOverlappingCircles(boolean sameSize)
      Creates two object-masks of circles in different locations WITH some overlap.
      Parameters:
      sameSize - if true, the object-masks are the same size; otherwise, they differ in size
      Returns:
      a FeatureInputPairObjects populated with the two overlapping circular object-masks
    • twoNonOverlappingCircles

      public static FeatureInputPairObjects twoNonOverlappingCircles(boolean sameSize)
      Creates two object-masks of circles in different locations WITHOUT any overlap.
      Parameters:
      sameSize - if true, the object-masks are the same size; otherwise, they differ in size
      Returns:
      a FeatureInputPairObjects populated with the two non-overlapping circular object-masks