• Getting Started
  • Api Documentation
  • Release Notes
Show / Hide Table of Contents
  • SaigeVision.ImageProcess
    • BackgroundColorFlags
    • ColorDirectionFlags
    • ConvertImage
    • ConvertImageOption
    • ConvertImageResult
    • CropImage
    • CropImageOption
    • CropImageResult
    • DirectionFlags
    • FindCircle
    • FindCircleOption
    • FindCircleResult
    • FindLine
    • FindLineOption
    • FindLineResult
    • IImageProcessBase
    • IImageProcessBaseOption<TOption>
    • IImageProcessBaseResult<TResult>
    • ImageProcessBase
    • ImageSynthesisOption
    • ImageSynthesisResult
    • SaigeCalculator
    • SynthesisFlags
    • ThresholdFlags
  • SaigeVision.ImageProcess.Core
    • ErrorTypeFlags
    • NativeMethod
    • SaigeCircle
    • SaigePoint
    • SaigeRectangle
  • SaigeVision.ImageProcess.Deep
    • IImageProcessBase
    • IImageProcessBaseOption<TAnalyzeOption, UResultOption>
    • IImageProcessBaseResult<TResult>
    • SaigePhotometricStereoExeption
  • SaigeVision.ImageProcess.Deep.Core
    • CalculataionFlags
    • ModeFlags
    • NativeMethod
    • ShaderFlags
  • SaigeVision.ImageProcess.Deep.PhotometricStereo
    • SaigePhotometricStereo
    • SaigePhotometricStereoOption
    • SaigePhotometricStereoResultImageOption
  • SaigeVision.ImageProcess.ImageProcess
    • ImageSynthesis

Class NativeMethod

Inheritance
object
NativeMethod
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SaigeVision.ImageProcess.Core
Assembly: SaigeVision.ImageProcess.Core.dll
Syntax
public class NativeMethod

Methods

SR_CropImage(IntPtr, int, int, SaigeRectangle)

Declaration
public static extern IntPtr SR_CropImage(IntPtr src, int width, int height, SaigeRectangle cropRect)
Parameters
Type Name Description
IntPtr src
int width
int height
SaigeRectangle cropRect
Returns
Type Description
IntPtr

SR_FindCircles(IntPtr, int, int, double, int[])

Declaration
public static extern IntPtr SR_FindCircles(IntPtr ucImageData, int width, int height, double squareScoreThreshold, int[] nCircle)
Parameters
Type Name Description
IntPtr ucImageData
int width
int height
double squareScoreThreshold
int[] nCircle
Returns
Type Description
IntPtr

SR_ImageSynthesis(IntPtr, IntPtr, int, int, int)

Declaration
public static extern IntPtr SR_ImageSynthesis(IntPtr srcA, IntPtr srcB, int width, int height, int synthesisType = 0)
Parameters
Type Name Description
IntPtr srcA
IntPtr srcB
int width
int height
int synthesisType
Returns
Type Description
IntPtr

SR_LoadImage(string, int, int)

Declaration
public static extern IntPtr SR_LoadImage(string imageFilePath, int width, int height)
Parameters
Type Name Description
string imageFilePath
int width
int height
Returns
Type Description
IntPtr

SR_Release(IntPtr)

Declaration
public static extern ErrorTypeFlags SR_Release(IntPtr ptr)
Parameters
Type Name Description
IntPtr ptr
Returns
Type Description
ErrorTypeFlags

SR_SearchPts(IntPtr, int, int, double, bool, int[])

Declaration
public static extern IntPtr SR_SearchPts(IntPtr ucImageData, int width, int height, double searchDir, bool bBrightenedLocate, int[] nPts)
Parameters
Type Name Description
IntPtr ucImageData
int width
int height
double searchDir
bool bBrightenedLocate
int[] nPts
Returns
Type Description
IntPtr

SR_ThresholdImage(IntPtr, int, int, double, double, int)

Declaration
public static extern IntPtr SR_ThresholdImage(IntPtr src, int width, int height, double thresh, double maxval, int type)
Parameters
Type Name Description
IntPtr src
int width
int height
double thresh
double maxval
int type
Returns
Type Description
IntPtr
  • View Source
In This Article
Back to top Generated by DocFX