Class SegmentationResult
Segmentation 검사 결과에 대한 정보가 담겨있는 클래스입니다.
Implements
Inherited Members
Namespace: SaigeVision.Net.V2.Segmentation
Assembly: SaigeVision.Net.V2.dll
Syntax
public class SegmentationResult : InspectionResult, IInspectionResult
Constructors
View SourceSegmentationResult(SegmentedObject[], Bitmap[], Bitmap[], InferenceTimeInfo)
생성자입니다.
Declaration
public SegmentationResult(SegmentedObject[] segmentedObjects, Bitmap[] masks, Bitmap[] scoremaps, InferenceTimeInfo inferenceTimeInfo)
Parameters
| Type | Name | Description |
|---|---|---|
| SegmentedObject[] | segmentedObjects | Segmentation을 통해 검출된 영역의 정보를 받아 옵니다. |
| Bitmap[] | masks | Mask 이미지 정보입니다. |
| Bitmap[] | scoremaps | Scoremap 이미지 정보입니다. |
| InferenceTimeInfo | inferenceTimeInfo | 추론 API 실행에 소요된 시간을 밀리초 단위로 받아 옵니다. |
Properties
View SourceMasks
Mask 이미지 정보입니다.
정상으로 분류된 픽셀은 0, 비정상으로 분류된 픽셀은 1로 표시됩니다.
Declaration
public Bitmap[] Masks { get; }
Property Value
| Type | Description |
|---|---|
| Bitmap[] |
Scoremaps
Scoremap 이미지 정보입니다.
이미지 픽셀에 해당 클래스로 예측한 score 값이 0 ~ 255 범위의 정수로 표시된 회색조 이미지입니다.
Declaration
public Bitmap[] Scoremaps { get; }
Property Value
| Type | Description |
|---|---|
| Bitmap[] |
SegmentedObjects
Segmentation을 통해 검출된 영역의 정보를 받아 옵니다.
Declaration
public SegmentedObject[] SegmentedObjects { get; }
Property Value
| Type | Description |
|---|---|
| SegmentedObject[] |