• 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.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, out 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, out IntPtr ir_ptr, 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
IntPtr ir_ptr
int width
int height
int degree_left
int degree_top
int degree_right
int degree_bottom
int elevation
Returns
Type Description
int

SaigePhotometricStereoCreateResult(out IntPtr)

Declaration
public static extern int SaigePhotometricStereoCreateResult(out IntPtr ir_ptr)
Parameters
Type Name Description
IntPtr ir_ptr
Returns
Type Description
int

SaigePhotometricStereoDestroyResult(IntPtr)

Declaration
public static extern int SaigePhotometricStereoDestroyResult(IntPtr ir_ptr)
Parameters
Type Name Description
IntPtr ir_ptr
Returns
Type Description
int

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

Declaration
public static extern int SaigePhotometricStereoGetResult(IntPtr ir_ptr, IntPtr result_image, ModeFlags mode, ShaderFlags shader_level, int contrast, int brightness, bool normalize, int sigma, double depth_contrast)
Parameters
Type Name Description
IntPtr ir_ptr
IntPtr result_image
ModeFlags mode
ShaderFlags shader_level
int contrast
int brightness
bool normalize
int sigma
double depth_contrast
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

SaigeStrErrorPS(int, IntPtr, int)

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