Interface OutputHandler.OutputToObjectConverter<S,T,U>

Enclosing interface:
OutputHandler<S,T,U>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface OutputHandler.OutputToObjectConverter<S,T,U>
  • Method Summary

    Modifier and Type
    Method
    Description
    convertToObjects(Parameters<S,T> params, U output)
    Convert the output of a pixel processor to a list of PathObjects.
  • Method Details

    • convertToObjects

      List<PathObject> convertToObjects(Parameters<S,T> params, U output)
      Convert the output of a pixel processor to a list of PathObjects.
      Parameters:
      params - the processing parameters
      output - the output of the processor
      Returns:
      a list of objects, or null if the output is incompatible with this conversion. Note that an empty list is not the same as null; an empty list indicates that no objects were detected, whereas null indicates that the output is incompatible and therefore should be passed to another output handler, if available.