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()
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
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
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
SaigePhotometricStereoInit(int, int)
Declaration
public static extern int SaigePhotometricStereoInit(int GPUIndex, int calculationMode)
Parameters
| Type |
Name |
Description |
| int |
GPUIndex |
|
| int |
calculationMode |
|
Returns
SaigeStrError(int)
Declaration
public static extern IntPtr SaigeStrError(int errnum)
Parameters
| Type |
Name |
Description |
| int |
errnum |
|
Returns