• 시작하기
  • 개발가이드
  • API 레퍼런스
  • 릴리즈 노트
Search Results for

    Show / Hide Table of Contents
    • SaigeVision.Net.Core.V2
      • Constants
      • NativeMethod
      • NativeValidation
      • ResponseCode
      • SaigeDetectedObject
      • SaigeEllipse
      • SaigeHandleConfig
      • SaigeInferenceOption
      • SaigeKeyInfoDict
      • SaigeModelInfo
      • SaigeOCRTextBox
      • SaigeRoiInfo
      • SaigeRotatedBox
      • SaigeSegmentedObject
    • SaigeVision.Net.V2
      • IInspectionEngine<TOption, UResult>
      • InspectionEngine<TOption, UResult>
      • InspectionOption
      • InspectionResult
    • SaigeVision.Net.V2.Classification
      • ClassificationEngine
      • ClassificationOption
      • ClassificationResult
    • SaigeVision.Net.V2.Detection
      • DetectionEngine
      • DetectionOption
      • DetectionResult
    • SaigeVision.Net.V2.Enums
      • EngineTypeFlags
      • ImageDataFlags
      • OptionFlags
      • OverSizeImageFlags
    • SaigeVision.Net.V2.Extensions
      • BitmapExtension
    • SaigeVision.Net.V2.IAD
      • IADEngine
      • IADOption
      • IADResult
    • SaigeVision.Net.V2.Models
      • ClassInfo
      • ClassScoreInfo
      • DetectedObject
      • InferenceTimeInfo
      • ModelInfo
      • OverSizeImage
      • ScoreValues<T>
      • SegmentedObject
    • SaigeVision.Net.V2.Models.Shapes
      • Contour
      • Ellipse
      • RotatedBox
    • SaigeVision.Net.V2.Segmentation
      • SegmentationEngine
      • SegmentationOption
      • SegmentationResult

    Class SegmentationOption

    Segmentation 검사에 필요한 옵션을 가져오거나 설정할 수 있습니다.

    Inheritance
    object
    InspectionOption
    SegmentationOption
    Inherited Members
    InspectionOption.CalcTime
    InspectionOption.BatchSize
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: SaigeVision.Net.V2.Segmentation
    Assembly: SaigeVision.Net.V2.dll
    Syntax
    public class SegmentationOption : InspectionOption

    Constructors

    View Source

    SegmentationOption(bool, int, OverSizeImageFlags, bool, bool, bool, bool, int[], int[], double[])

    검사 결과에 필요한 옵션값을 설정합니다

    Declaration
    public SegmentationOption(bool calcTime, int batchSize, OverSizeImageFlags oversizedImageHandling, bool calcScoremap, bool calcObject, bool calcObjectAreaAndApplyThreshold, bool calcObjectScoreAndApplyThreshold, int[] objectAreaThresholdPerClass, int[] objectBoundaryThresholdPerClass, double[] objectScoreThresholdPerClass)
    Parameters
    Type Name Description
    bool calcTime

    추론 API 실행에 소요되는 시간을 세분화하여 출력할지 결정합니다.

    int batchSize

    추론을 한 번 수행할 때 추론하는 이미지의 개수입니다.

    OverSizeImageFlags oversizedImageHandling

    SaigeHandleConfig에서 지정한 inspection size보다 큰 이미지를 처리하는 방법입니다.

    bool calcScoremap

    true로 설정하면 추론 시 scoremap을 계산합니다.

    bool calcObject

    true로 설정하면 추론 시 segmented object를 계산합니다.

    bool calcObjectAreaAndApplyThreshold

    true로 설정하면 segmented object의 면적을 계산합니다.

    bool calcObjectScoreAndApplyThreshold

    true로 설정하면 segmented object의 score를 계산합니다.

    int[] objectAreaThresholdPerClass

    클래스별 object area threshold 값입니다.

    int[] objectBoundaryThresholdPerClass

    true로 설정하면 segmented object의 score를 계산합니다.

    double[] objectScoreThresholdPerClass

    클래스별 object score threshold 값입니다.

    Properties

    View Source

    CalcObject

    Declaration
    public bool CalcObject { get; set; }
    Property Value
    Type Description
    bool

    true로 설정하면 추론 시 segmented object를 계산합니다.

    View Source

    CalcObjectAreaAndApplyThreshold

    Declaration
    public bool CalcObjectAreaAndApplyThreshold { get; set; }
    Property Value
    Type Description
    bool

    true로 설정하면 segmented object의 면적을 계산합니다.
    Segmented object의 면적이 object area threshold 보다 작으면 최종 결과에서 제외됩니다.

    View Source

    CalcObjectScoreAndApplyThreshold

    Declaration
    public bool CalcObjectScoreAndApplyThreshold { get; set; }
    Property Value
    Type Description
    bool

    true로 설정하면 segmented object의 score를 계산합니다.
    Segmented object의 score가 object score threshold 보다 작으면 최종 결과에서 제외됩니다.

    View Source

    CalcScoremap

    Declaration
    public bool CalcScoremap { get; set; }
    Property Value
    Type Description
    bool

    true로 설정하면 추론 시 scoremap을 계산합니다.

    View Source

    ObjectAreaThresholdPerClass

    Declaration
    public int[] ObjectAreaThresholdPerClass { get; set; }
    Property Value
    Type Description
    int[]

    클래스별 object area threshold 값입니다.
    n번째 클래스로 검출된 segmented object의 면적이 n번째 값보다 작으면 최종 결과에서 제외됩니다. 0번 인덱스 값은 OK 클래스에 대응하는 값으로 의미가 없으며 설정도 불가능합니다.
    calcObject가 true일 때 유효합니다.

    View Source

    ObjectBoundaryThresholdPerClass

    Declaration
    public int[] ObjectBoundaryThresholdPerClass { get; set; }
    Property Value
    Type Description
    int[]

    true로 설정하면 segmented object의 score를 계산합니다.
    Segmented object의 score가 object score threshold 보다 작으면 최종 결과에서 제외됩니다.

    View Source

    ObjectScoreThresholdPerClass

    Declaration
    public double[] ObjectScoreThresholdPerClass { get; set; }
    Property Value
    Type Description
    double[]

    클래스별 object score threshold 값입니다.
    n번째 클래스로 검출된 segmented object의 score가 n번째 값보다 작으면 최종 결과에서 제외됩니다. 0번 인덱스 값은 OK 클래스에 대응하는 값으로 의미가 없으며 설정도 불가능합니다.
    calcObject가 true일 때 유효합니다.

    View Source

    OversizedImageHandling

    Declaration
    public OverSizeImageFlags OversizedImageHandling { get; set; }
    Property Value
    Type Description
    OverSizeImageFlags

    SaigeHandleConfig에서 지정한 inspection size보다 큰 이미지를 처리하는 방법입니다.
    DO_NOT_INSPECT, RESIZE_TO_FIT, CROP_INTO_TILES 세 가지 옵션이 존재합니다.

    • View Source
    In This Article
    Back to top Generated by DocFX