• 시작하기
  • 개발가이드
  • 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
      • ClassInfo
      • ClassScoreInfo
      • Contour
      • DetectedObject
      • DrawingHelper
      • Ellipse
      • EngineTypeFlags
      • IInspectionEngine<TOption, UResult>
      • IInspectionOption
      • IInspectionResult
      • ImageDataRawFlag
      • ImageTypeFlags
      • InferenceTimeInfo
      • InspectionEngine<TOption, UResult>
      • InspectionOption
      • InspectionResult
      • ModelInfo
      • OptionFlags
      • OverSizeImage
      • OverSizeImageFlags
      • RotatedBox
      • ScoreValues<T>
      • SegmentedObject
      • SrImage
      • TextFormatting
      • TextObject
    • SaigeVision.Net.V2.Classification
      • ClassificationEngine
      • ClassificationOption
      • ClassificationResult
    • SaigeVision.Net.V2.Detection
      • DetectionEngine
      • DetectionOption
      • DetectionResult
    • SaigeVision.Net.V2.IAD
      • IADEngine
      • IADOption
      • IADResult
    • SaigeVision.Net.V2.IEN
      • IENEngine
      • IENOption
      • IENResult
    • SaigeVision.Net.V2.OCR
      • OCREngine
      • OCROption
      • OCRResult
    • SaigeVision.Net.V2.Segmentation
      • SegmentationEngine
      • SegmentationOption
      • SegmentationResult

    Class SrImage

    Inheritance
    object
    SrImage
    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.Net.V2
    Assembly: SaigeVision.Net.V2.dll
    Syntax
    public class SrImage : IDisposable

    Constructors

    View Source

    SrImage(Bitmap, Uri)

    Declaration
    public SrImage(Bitmap bitmap, Uri uri = null)
    Parameters
    Type Name Description
    Bitmap bitmap
    Uri uri
    View Source

    SrImage(Stream)

    Declaration
    public SrImage(Stream stream)
    Parameters
    Type Name Description
    Stream stream
    View Source

    SrImage(int, int, int, byte[])

    Declaration
    public SrImage(int width, int height, int channelSize, byte[] data)
    Parameters
    Type Name Description
    int width
    int height
    int channelSize
    byte[] data
    View Source

    SrImage(int, int, int, int, byte[])

    Declaration
    public SrImage(int width, int height, int stride, int channelSize, byte[] data)
    Parameters
    Type Name Description
    int width
    int height
    int stride
    int channelSize
    byte[] data
    View Source

    SrImage(int, int, int, int, IntPtr)

    Declaration
    public SrImage(int width, int height, int stride, int channelSize, IntPtr data)
    Parameters
    Type Name Description
    int width
    int height
    int stride
    int channelSize
    IntPtr data
    View Source

    SrImage(int, int, int, IntPtr)

    Declaration
    public SrImage(int width, int height, int channelSize, IntPtr data)
    Parameters
    Type Name Description
    int width
    int height
    int channelSize
    IntPtr data
    View Source

    SrImage(string)

    Declaration
    public SrImage(string filePath)
    Parameters
    Type Name Description
    string filePath

    Properties

    View Source

    Channel

    채널 수

    Declaration
    public int Channel { get; }
    Property Value
    Type Description
    int
    View Source

    DataPtr

    Pointer

    Declaration
    public IntPtr DataPtr { get; }
    Property Value
    Type Description
    IntPtr
    View Source

    Flags

    Channel, Depth 에 대한 정보

    Declaration
    public ImageTypeFlags Flags { get; }
    Property Value
    Type Description
    ImageTypeFlags
    View Source

    Height

    세로 길이

    Declaration
    public int Height { get; }
    Property Value
    Type Description
    int
    View Source

    Uri

    원본 이미지의 Uri

    Declaration
    public Uri Uri { get; }
    Property Value
    Type Description
    Uri
    Remarks

    File path를 통한 생성자를 통해 생성된 인스턴스만 값을 가질 수 있으며, 그외 생성자는 해당 값을 null로 표현합니다.

    View Source

    Width

    가로 길이

    Declaration
    public int Width { get; }
    Property Value
    Type Description
    int

    Methods

    View Source

    Clone()

    Declaration
    public SrImage Clone()
    Returns
    Type Description
    SrImage
    View Source

    Dispose()

    Declaration
    public void Dispose()
    View Source

    ~SrImage()

    Declaration
    protected ~SrImage()
    View Source

    Save(string)

    이미지를 저장합니다.

    Declaration
    public void Save(string path)
    Parameters
    Type Name Description
    string path

    저장할 파일 경로.

    View Source

    ToBitmap()

    Declaration
    public Bitmap ToBitmap()
    Returns
    Type Description
    Bitmap

    Operators

    View Source

    implicit operator Mat(SrImage)

    Declaration
    public static implicit operator Mat(SrImage image)
    Parameters
    Type Name Description
    SrImage image
    Returns
    Type Description
    Mat
    View Source

    implicit operator Bitmap(SrImage)

    Declaration
    public static implicit operator Bitmap(SrImage image)
    Parameters
    Type Name Description
    SrImage image
    Returns
    Type Description
    Bitmap

    Implements

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