Package biopb.image

Interface DetectionSettingsOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
DetectionSettings, DetectionSettings.Builder

public interface DetectionSettingsOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    float
    A hint for the typical cell diameter.
    float
    Minimal cell area to be consider for detection.
    float
    Minimal detection score in order to be considered.
    com.google.protobuf.Any
    An opaque data structure that specify a server side model configuration.
    com.google.protobuf.AnyOrBuilder
    An opaque data structure that specify a server side model configuration.
    Specify the model name for servers that support more than one model variants.
    com.google.protobuf.ByteString
    Specify the model name for servers that support more than one model variants.
    float
    A threshold value for remove overlapping detections.
     
    float
    A direct suggestion for image scaling.
    float
    Threshold for binarize segmentation logits.
    boolean
    A hint for the typical cell diameter.
    boolean
    Minimal cell area to be consider for detection.
    boolean
    Minimal detection score in order to be considered.
    boolean
    An opaque data structure that specify a server side model configuration.
    boolean
    A threshold value for remove overlapping detections.
    boolean
    A direct suggestion for image scaling.
    boolean
    Threshold for binarize segmentation logits.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasMinCellArea

      boolean hasMinCellArea()
       Minimal cell area to be consider for detection. The unit is decided by
       the physical unit of the image, i.e., if the physical pixel size unit is
       "nm", then the unit here is nm^2 (2D) or nm^3 (3D). However, if the
       physical pixel size field is not set, then the unit here is `pixels`.
       
      optional float min_cell_area = 1;
      Returns:
      Whether the minCellArea field is set.
    • getMinCellArea

      float getMinCellArea()
       Minimal cell area to be consider for detection. The unit is decided by
       the physical unit of the image, i.e., if the physical pixel size unit is
       "nm", then the unit here is nm^2 (2D) or nm^3 (3D). However, if the
       physical pixel size field is not set, then the unit here is `pixels`.
       
      optional float min_cell_area = 1;
      Returns:
      The minCellArea.
    • hasMinScore

      boolean hasMinScore()
       Minimal detection score in order to be considered. If unset, the default
       value is chosen server-side.
       
      optional float min_score = 2;
      Returns:
      Whether the minScore field is set.
    • getMinScore

      float getMinScore()
       Minimal detection score in order to be considered. If unset, the default
       value is chosen server-side.
       
      optional float min_score = 2;
      Returns:
      The minScore.
    • hasSegmentationThreshold

      boolean hasSegmentationThreshold()
       Threshold for binarize segmentation logits. If unset, default to 0.
       
      optional float segmentation_threshold = 3;
      Returns:
      Whether the segmentationThreshold field is set.
    • getSegmentationThreshold

      float getSegmentationThreshold()
       Threshold for binarize segmentation logits. If unset, default to 0.
       
      optional float segmentation_threshold = 3;
      Returns:
      The segmentationThreshold.
    • hasNmsIou

      boolean hasNmsIou()
       A threshold value for remove overlapping detections. If two detection has
       an IOU > this threshold, the one with the lower score will be eliminated
       from the detection list. Nothing will be removed if the field is not set.
       
      optional float nms_iou = 4;
      Returns:
      Whether the nmsIou field is set.
    • getNmsIou

      float getNmsIou()
       A threshold value for remove overlapping detections. If two detection has
       an IOU > this threshold, the one with the lower score will be eliminated
       from the detection list. Nothing will be removed if the field is not set.
       
      optional float nms_iou = 4;
      Returns:
      The nmsIou.
    • hasCellDiameterHint

      boolean hasCellDiameterHint()
       A hint for the typical cell diameter. If the physical pixel size is
       known, the value takes the same physical unit. Otherwise, the unit is
       pixel.
       
      float cell_diameter_hint = 6;
      Returns:
      Whether the cellDiameterHint field is set.
    • getCellDiameterHint

      float getCellDiameterHint()
       A hint for the typical cell diameter. If the physical pixel size is
       known, the value takes the same physical unit. Otherwise, the unit is
       pixel.
       
      float cell_diameter_hint = 6;
      Returns:
      The cellDiameterHint.
    • hasScalingHint

      boolean hasScalingHint()
       A direct suggestion for image scaling. A nonnegative value. However,
       requesting a very large scaling factor will likely be refused by the
       server due to the potential out-of-memory problem.
       
      float scaling_hint = 7;
      Returns:
      Whether the scalingHint field is set.
    • getScalingHint

      float getScalingHint()
       A direct suggestion for image scaling. A nonnegative value. However,
       requesting a very large scaling factor will likely be refused by the
       server due to the potential out-of-memory problem.
       
      float scaling_hint = 7;
      Returns:
      The scalingHint.
    • getModelName

      String getModelName()
       Specify the model name for servers that support more than one model
       variants.
       
      string model_name = 8;
      Returns:
      The modelName.
    • getModelNameBytes

      com.google.protobuf.ByteString getModelNameBytes()
       Specify the model name for servers that support more than one model
       variants.
       
      string model_name = 8;
      Returns:
      The bytes for modelName.
    • hasModelConfiguration

      boolean hasModelConfiguration()
       An opaque data structure that specify a server side model configuration.
       An important use case is to perform few-shot model adaptations. The model
       adaptation call returns a new model configuration. This stucture should
       be included in all new inference requests, so that the server understand
       that it should perform computation using the adapted model.
       
      .google.protobuf.Any model_configuration = 9;
      Returns:
      Whether the modelConfiguration field is set.
    • getModelConfiguration

      com.google.protobuf.Any getModelConfiguration()
       An opaque data structure that specify a server side model configuration.
       An important use case is to perform few-shot model adaptations. The model
       adaptation call returns a new model configuration. This stucture should
       be included in all new inference requests, so that the server understand
       that it should perform computation using the adapted model.
       
      .google.protobuf.Any model_configuration = 9;
      Returns:
      The modelConfiguration.
    • getModelConfigurationOrBuilder

      com.google.protobuf.AnyOrBuilder getModelConfigurationOrBuilder()
       An opaque data structure that specify a server side model configuration.
       An important use case is to perform few-shot model adaptations. The model
       adaptation call returns a new model configuration. This stucture should
       be included in all new inference requests, so that the server understand
       that it should perform computation using the adapted model.
       
      .google.protobuf.Any model_configuration = 9;
    • getResizeInfoCase