Conversion functions from unmanaged PIXELLIST objects to managed lists. More...
Static Public Member Functions | |
static LocalMaximum[] | ToLocalMaxima (IntPtr pl) |
Convert a pixel list (with pixels with at least 3 components) to a List of LocalMaximum objects. More... | |
static Point2Dd[] | ToPoints (IntPtr pl) |
Convert a pixel list (with pixels with at least 2 components) to a List of Point2Dd objects. More... | |
static IntPtr | FromPositions (ICollection< IPosition > pixels) |
Convert a list of positions to an unmanaged pixel list object. More... | |
static void | ReleaseNativeHandle (IntPtr handle) |
Releases the given native object handle . More... | |
Conversion functions from unmanaged PIXELLIST objects to managed lists.
|
static |
Convert a list of positions to an unmanaged pixel list object.
The handle must be release when no longer used by means of a ReleaseNativeHandle call.
pixels | Positions to be converted. |
|
static |
Releases the given native object handle .
Attention:
only use this if you know what you are doing. This is normally not needed in the Stemmer.Cvb wrappers!
handle | Object handle to be released. |
|
static |
Convert a pixel list (with pixels with at least 3 components) to a List of LocalMaximum objects.
pl | Unmanaged pixel list object. |
null
if pl was IntPtr.Zero, a list of LocalMaximum objects otherwise.
|
static |
Convert a pixel list (with pixels with at least 2 components) to a List of Point2Dd objects.
pl | unmanaged pixel list object |