Class FeatureInputOverlappingCircleFixture

Object
org.anchoranalysis.test.feature.plugins.objects.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 Summary

    Modifier and Type Method Description
    static org.anchoranalysis.image.feature.input.FeatureInputPairObjects twoNonOverlappingCircles​(boolean sameSize)
    Creates two object-masks of circles in different locations WITHOUT any overlap.
    static org.anchoranalysis.image.feature.input.FeatureInputPairObjects twoOverlappingCircles​(boolean sameSize)
    Creates two object-masks of circles in different locations WITH some overlap.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • twoOverlappingCircles

      public static org.anchoranalysis.image.feature.input.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 org.anchoranalysis.image.feature.input.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