SegmentationResult class

Classe para representar o resultado de uma segmentação.

Properties:

  • segmentedImage: (Opcional) Imagem segmentada resultante.
  • binaryMask: (Opcional) Máscara binária da segmentação.
  • maskCoefficients: (Opcional) Coeficientes associados à máscara.
  • bestSegmentationIndex: (Opcional) Índice da melhor segmentação.
  • metadata: (Opcional) Metadados adicionais relacionados ao resultado.
  • confidence: Nível de confiança do resultado.
  • timestamp: Data e hora em que o resultado foi gerado.
  • originalImage: Imagem original que foi processada.
Inheritance

Constructors

SegmentationResult({required double confidence, required DateTime timestamp, required Uint8List originalImage, Uint8List? segmentedImage, Image? binaryMask, List<double>? maskCoefficients, int? bestSegmentationIndex, Map<String, dynamic>? metadata})
const

Properties

bestSegmentationIndex int?
final
binaryMask → Image?
final
confidence double
finalinherited
hashCode int
The hash code for this object.
no setterinherited
maskCoefficients List<double>?
final
metadata Map<String, dynamic>?
final
originalImage Uint8List
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
segmentedImage Uint8List?
final
timestamp DateTime
finalinherited

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