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.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
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
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
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
SR_Release(IntPtr)
Declaration
public static extern ErrorTypeFlags SR_Release(IntPtr ptr)
Parameters
| Type |
Name |
Description |
| IntPtr |
ptr |
|
Returns
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
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