Class SegmentationOption
Segmentation 검사에 필요한 옵션을 가져오거나 설정할 수 있습니다.
Implements
Inherited Members
Namespace: SaigeVision.Net.V2.Segmentation
Assembly: SaigeVision.Net.V2.dll
Syntax
public class SegmentationOption : InspectionOption, IInspectionOption
Constructors
View SourceSegmentationOption(bool, int, OverSizeImageFlags, bool, bool, bool, bool, bool, int[], int[], double[])
검사 결과에 필요한 옵션값을 설정합니다
Declaration
public SegmentationOption(bool calcTime, int batchSize, OverSizeImageFlags oversizedImageHandling, bool calcScoremap, bool calcMask, bool calcObject, bool calcObjectAreaAndApplyThreshold, bool calcObjectScoreAndApplyThreshold, int[] objectAreaThresholdPerClass, int[] objectBoundaryThresholdPerClass, double[] objectScoreThresholdPerClass)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | calcTime | 추론 API 실행에 소요되는 시간을 세분화하여 출력할지 결정합니다. |
| int | batchSize | 추론을 한 번 수행할 때 추론하는 이미지의 개수입니다. |
| OverSizeImageFlags | oversizedImageHandling |
|
| bool | calcScoremap |
|
| bool | calcMask | |
| bool | calcObject |
|
| bool | calcObjectAreaAndApplyThreshold |
|
| bool | calcObjectScoreAndApplyThreshold |
|
| int[] | objectAreaThresholdPerClass | 클래스별 object area threshold 값입니다. |
| int[] | objectBoundaryThresholdPerClass | 클래스별 object boundary threshold 값입니다. |
| double[] | objectScoreThresholdPerClass | 클래스별 object score threshold 값입니다. |
Properties
View SourceCalcMask
Declaration
public bool CalcMask { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
|
CalcObject
Declaration
public bool CalcObject { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
|
CalcObjectAreaAndApplyThreshold
Declaration
public bool CalcObjectAreaAndApplyThreshold { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
|
CalcObjectScoreAndApplyThreshold
Declaration
public bool CalcObjectScoreAndApplyThreshold { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
|
CalcScoremap
Declaration
public bool CalcScoremap { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
|
ObjectAreaThresholdPerClass
Declaration
public int[] ObjectAreaThresholdPerClass { get; set; }
Property Value
| Type | Description |
|---|---|
| int[] | 클래스별 object area threshold 값입니다. |
ObjectBoundaryThresholdPerClass
Declaration
public int[] ObjectBoundaryThresholdPerClass { get; set; }
Property Value
| Type | Description |
|---|---|
| int[] | 클래스별 object boundary threshold 값입니다. |
ObjectScoreThresholdPerClass
Declaration
public double[] ObjectScoreThresholdPerClass { get; set; }
Property Value
| Type | Description |
|---|---|
| double[] | 클래스별 object score threshold 값입니다. |
OversizedImageHandling
Declaration
public OverSizeImageFlags OversizedImageHandling { get; set; }
Property Value
| Type | Description |
|---|---|
| OverSizeImageFlags |
|