Class SegmentationEngine
Inheritance
object
SegmentationEngine
Implements
IDisposable
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: SaigeVision.Core.Inference
Assembly: SaigeVision.Core.Inference.dll
Syntax
public class SegmentationEngine : InspectionEngine<EngineMetadata, SegTrainingOptions, SegInspectionOptions>, IDisposable
Methods
View SourceInspect<T>(SrImage)
input에 대한 검사를 진행합니다.
Declaration
public SegmentationReport<T> Inspect<T>(SrImage input) where T : class, ISegmentationResult
Parameters
| Type | Name | Description |
|---|---|---|
| SrImage | input | 검사할 이미지. |
Returns
| Type | Description |
|---|---|
| SegmentationReport<T> | 검사 결과. |
Type Parameters
| Name | Description |
|---|---|
| T | 결과로 전달받을 데이터 타입. |
Inspect<T>(SrImage[])
input에 대한 검사를 진행합니다.
Declaration
public SegmentationReport<T>[] Inspect<T>(SrImage[] input) where T : class, ISegmentationResult
Parameters
| Type | Name | Description |
|---|---|---|
| SrImage[] | input | 검사할 이미지. |
Returns
| Type | Description |
|---|---|
| SegmentationReport<T>[] | 검사 결과. |
Type Parameters
| Name | Description |
|---|---|
| T | 결과로 전달받을 데이터 타입. |
Inspect<T1, T2>(SrImage)
input를 검사하여, 2가지 예측 결과를 반환합니다.
Declaration
public SegmentationReport<T1, T2> Inspect<T1, T2>(SrImage input) where T1 : class, ISegmentationResult where T2 : class, ISegmentationResult
Parameters
| Type | Name | Description |
|---|---|---|
| SrImage | input | 검사할 대상 샘플. |
Returns
| Type | Description |
|---|---|
| SegmentationReport<T1, T2> | 결과 레포트. |
Type Parameters
| Name | Description |
|---|---|
| T1 | 첫번째 예측으로 전달받을 데이터 타입. |
| T2 | 두번째 예측로 전달받을 데이터 타입. |
InspectAsync<T>(SrImage, CancellationToken)
input에 대한 검사를 비동기로 진행합니다.
Declaration
public Task<SegmentationReport<T>> InspectAsync<T>(SrImage input, CancellationToken token = default) where T : class, ISegmentationResult
Parameters
| Type | Name | Description |
|---|---|---|
| SrImage | input | 검사할 이미지. |
| CancellationToken | token | 진행 취소 토큰. |
Returns
| Type | Description |
|---|---|
| Task<SegmentationReport<T>> | 검사 결과. |
Type Parameters
| Name | Description |
|---|---|
| T | 결과로 전달받을 데이터 타입. |
InspectAsync<T1, T2>(SrImage, CancellationToken)
input를 검사하여, 2가지 예측 결과를 비동기로 계산하여 반환합니다.
Declaration
public Task<SegmentationReport<T1, T2>> InspectAsync<T1, T2>(SrImage input, CancellationToken token = default) where T1 : class, ISegmentationResult where T2 : class, ISegmentationResult
Parameters
| Type | Name | Description |
|---|---|---|
| SrImage | input | 검사할 대상 샘플. |
| CancellationToken | token |
Returns
| Type | Description |
|---|---|
| Task<SegmentationReport<T1, T2>> |
Type Parameters
| Name | Description |
|---|---|
| T1 | 첫번째 예측으로 전달받을 데이터 타입. |
| T2 | 두번째 예측로 전달받을 데이터 타입. |
Implements
System.IDisposable