• 시작하기
  • 개발가이드
  • 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
      • SaigeTextFormatting
      • SaigeTextObject
    • SaigeVision.Net.V2
      • IInspectionEngine<TOption, UResult>
      • IInspectionOption
      • IInspectionResult
      • InspectionEngine<TOption, UResult>
      • InspectionOption
      • InspectionResult
      • TextFormatting
    • SaigeVision.Net.V2.Classification
      • ClassificationEngine
      • ClassificationOption
      • ClassificationResult
    • SaigeVision.Net.V2.Detection
      • DetectionEngine
      • DetectionOption
      • DetectionResult
    • SaigeVision.Net.V2.Enums
      • EngineTypeFlags
      • ImageDataRawFlag
      • ImageTypeFlags
      • 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
      • SrImage
      • TextObject
    • SaigeVision.Net.V2.Models.Shapes
      • Contour
      • Ellipse
      • RotatedBox
    • SaigeVision.Net.V2.OCR
      • OCREngine
      • OCROption
      • OCRResult
    • SaigeVision.Net.V2.Segmentation
      • SegmentationEngine
      • SegmentationOption
      • SegmentationResult

    Class SegmentationOption

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

    Inheritance
    object
    InspectionOption
    SegmentationOption
    Implements
    IInspectionOption
    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, IInspectionOption

    Constructors

    View Source

    SegmentationOption(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

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

    bool calcScoremap

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

    bool calcMask
    bool calcObject

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

    bool calcObjectAreaAndApplyThreshold

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

    bool calcObjectScoreAndApplyThreshold

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

    int[] objectAreaThresholdPerClass

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

    int[] objectBoundaryThresholdPerClass

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

    double[] objectScoreThresholdPerClass

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

    Properties

    View Source

    CalcMask

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

    Declaration
    public bool CalcMask { get; set; }
    Property Value
    Type Description
    bool
    View Source

    CalcObject

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

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

    CalcObjectAreaAndApplyThreshold

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

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

    CalcObjectScoreAndApplyThreshold

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

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

    CalcScoremap

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

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

    ObjectAreaThresholdPerClass

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

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

    ObjectBoundaryThresholdPerClass

    클래스별 object boundary threshold 값입니다.
    n번째 값이 클수록 n번째 클래스의 mask 및 segmented object의 경계가 좁아집니다.

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

    ObjectScoreThresholdPerClass

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

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

    OversizedImageHandling

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

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

    Implements

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