• 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<TOption>
    • IImageProcessBaseResult<TResult>
    • SaigePhotometricStereoExeption
  • SaigeVision.ImageProcess.Deep.Core
    • CalculataionFlags
    • ModeFlags
    • NativeMethod
    • ShaderFlags
  • SaigeVision.ImageProcess.Deep.PhotometricStereo
    • SaigePhotometricStereo
    • SaigePhotometricStereoOption
  • 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.Deep.Core
Assembly: SaigeVision.ImageProcess.Deep.Core.dll
Syntax
public class NativeMethod

Methods

SaigeFreeImageData(IntPtr)

Declaration
public static extern int SaigeFreeImageData(IntPtr image)
Parameters
Type Name Description
IntPtr image
Returns
Type Description
int

SaigePhotometricStereoAnalyze(IntPtr, IntPtr, IntPtr, IntPtr, int, int, int, int, int, int, int)

Declaration
public static extern int SaigePhotometricStereoAnalyze(IntPtr image_top, IntPtr image_right, IntPtr image_left, IntPtr image_bottom, int width, int height, int degree_left = 180, int degree_top = 90, int degree_right = 0, int degree_bottom = 270, int elevation = 30)
Parameters
Type Name Description
IntPtr image_top
IntPtr image_right
IntPtr image_left
IntPtr image_bottom
int width
int height
int degree_left
int degree_top
int degree_right
int degree_bottom
int elevation
Returns
Type Description
int

SaigePhotometricStereoGetResult(ModeFlags, ShaderFlags, int, int, IntPtr)

Declaration
public static extern int SaigePhotometricStereoGetResult(ModeFlags mode, ShaderFlags shader_level, int contrast, int brightness, IntPtr result_image)
Parameters
Type Name Description
ModeFlags mode
ShaderFlags shader_level
int contrast
int brightness
IntPtr result_image
Returns
Type Description
int

SaigePhotometricStereoInit(int, int)

Declaration
public static extern int SaigePhotometricStereoInit(int GPUIndex, int calculationMode)
Parameters
Type Name Description
int GPUIndex
int calculationMode
Returns
Type Description
int

SaigeStrError(int)

Declaration
public static extern IntPtr SaigeStrError(int errnum)
Parameters
Type Name Description
int errnum
Returns
Type Description
IntPtr
  • View Source
In This Article
Back to top Generated by DocFX