CategoryMask class final
The winning category index per pixel, in row-major input-image coordinates, owned by the result and valid after the task is disposed.
- Annotations
Constructors
- CategoryMask({required int width, required int height, required Uint8List categories})
-
Owns an unmodifiable copy of
categories,widthtimesheightindices into the model's label list.
Properties
- categories → Uint8List
-
Category indices 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