Class TestLoaderObjects
Object
org.anchoranalysis.test.image.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 Summary
Constructors Constructor Description TestLoaderObjects(TestLoaderImage loader)TestLoaderObjects(TestLoader loader)Constructs a TestLoaderObjects with a given TestLoader. -
Method Summary
Modifier and Type Method Description org.anchoranalysis.image.voxel.object.ObjectMaskopenLargestObjectFrom(String suffix)Opens the largest object from an image stack identified by a suffix.
-
Constructor Details
-
TestLoaderObjects
Constructs a TestLoaderObjects with a given TestLoader.- Parameters:
loader- The TestLoader to use for loading test data.
-
TestLoaderObjects
-
-
Method Details
-
openLargestObjectFrom
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.
-