ConfidenceMask class final

Per-pixel confidences in row-major input-image coordinates, from 0 to 1, owned by the result and valid after the task is disposed.

Annotations
  • @immutable

Constructors

ConfidenceMask({required int width, required int height, required Float32List confidence})
Owns an unmodifiable copy of confidence, width times height values, without thresholding.

Properties

confidence → Float32List
Confidences indexed by y * width + x.
final
hashCode → int
The hash code for this object.
no setterinherited
height → int
Mask height, the input image's.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
width → int
Mask width, the input image's.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited