Class MeasurementListValue

java.lang.Object
qupath.lib.lazy.objects.MeasurementListValue
All Implemented Interfaces:
LazyNumericValue<PathObject>, LazyValue<PathObject,Number>

public class MeasurementListValue extends Object implements LazyNumericValue<PathObject>
Value extracted from an object's measurement list.
  • Method Details

    • getName

      public String getName()
      Description copied from interface: LazyValue
      The name of the value. When showing a measurement table, this would be the column header.
      Specified by:
      getName in interface LazyValue<PathObject,Number>
      Returns:
      the name of the value
    • getHelpText

      public String getHelpText()
      Description copied from interface: LazyValue
      Optional help text that explained the value. This may be displayed in a tooltip.
      Specified by:
      getHelpText in interface LazyValue<PathObject,Number>
      Returns:
      the help text, or null if no help text is available
    • getValue

      public Number getValue(PathObject pathObject)
      Description copied from interface: LazyValue
      Calculate a value from the input.
      Specified by:
      getValue in interface LazyValue<PathObject,Number>
      Parameters:
      pathObject - the input that should be measured
      Returns:
      the output value