Class SegmentInstanceWithModel<T extends InferenceModel>

Type Parameters:
T - model-type in pool

public class SegmentInstanceWithModel<T extends InferenceModel> extends Task<StackSequenceInput,SharedStateSegmentInstance<T>>
Using a model-pool, performs instance segmentation on an image producing zero, one or more objects per image.

Various visualizations and export types are supported.

  • Segmentation results in vairous forms (HDF5) for input into other scripts. (in HDF5 form and as a mask).
  • Visualizations of the instances found (outlines, thumbnails etc.)
  • A table of basic features (CSV) for each instance.

Specifically, the following outputs are produced:

Output NameDefault?Description
"input"noThe input image for segmentation.
"objects"yesSegmented object-masks encoded into HDF5.
"mask"yesA binary-mask image that binary ors each voxel across the segmented object-masks (scaled to match the input image for model inference).
"outline"yesA RGB image showing the outline of segmented-objects on top of the input image (scaled to match the input image for model inference).
"mask""InputScale"noLike mask but on the full-scale input image.
"outline""InputScale"noLike outline but on on the full-scale input image.
"summary"yesA CSV file showing basic feature of all segmented-objects across all input images.
"thumbnails"<S>yesA directory of thumbnails showing the outline of all segmented objects on top of an extracted portion of the respective input-image.
outputs inherited from Task
Author:
Owen Feehan