Class TestLoaderObjects

Object
TestLoaderObjects

public class TestLoaderObjects extends Object
A utility class for loading and processing object masks in test scenarios.

This class provides methods to load image stacks and extract the largest object mask from them. It's primarily used for testing purposes related to image object processing.

  • Constructor Details

    • TestLoaderObjects

      public TestLoaderObjects(TestLoader loader)
      Constructs a TestLoaderObjects with a given TestLoader.
      Parameters:
      loader - The TestLoader to use for loading test data.
    • TestLoaderObjects

      public TestLoaderObjects(TestLoaderImage loader)
  • Method Details

    • openLargestObjectFrom

      public ObjectMask openLargestObjectFrom(String suffix)
      Opens the largest object from an image stack identified by a suffix.
      Parameters:
      suffix - The suffix used to identify the image stack file.
      Returns:
      The largest ObjectMask found in the image stack.