Projection that the Edge analysis of Common Vision Blox is using. More...
Inherits INativeHandle.
Public Member Functions | |
Projection (ImagePlane plane, Area2D aoi) | |
Create an ProjectionMode.Sum projection object. More... | |
Projection (ImagePlane plane, Area2D aoi, ProjectionMode mode) | |
Create a projection object. More... | |
Projection (ImagePlane plane, Area2D aoi, ProjectionMode mode, double density) | |
Create a projection object. More... | |
EdgeResult[] | CalculateZeroCrossings () |
Get all the zero crossings, that are in the projection. More... | |
Projection | Derive () |
Create derivative of this projection. More... | |
unsafe Projection | Filter (int[] kernel) |
Filter this projection using a 1D filter kernel. More... | |
Projection | ToAverageProjection () |
Create a new averaged projection from this one. More... | |
void | Dispose () |
Dispose method that releases the classifier | |
Protected Member Functions | |
virtual void | Dispose (bool disposing) |
IDispose helper function. More... | |
Properties | |
ProjectionMode | Mode [get] |
Defines the result of the projection. | |
unsafe ProjectionValue[] | Values [get] |
Retrieve the values of the projection. More... | |
IntPtr | Handle [get] |
Native non projection handle. More... | |
bool | IsDisposed [get] |
Tests if the native handle has already been disposed. | |
Properties inherited from INativeHandle | |
IntPtr | Handle [get] |
The native handle of the object. | |
bool | IsDisposed [get] |
Possibility to check whether the object has already been disposed of. | |
Events | |
NativeHandleEventDelegate | ObjectDisposing |
Raised when this object is about to be disposed via the IDisposable.Dispose method. More... | |
Events inherited from INativeHandle | |
NativeHandleEventDelegate | ObjectDisposing |
Raised when this object is about to be disposed via the IDisposable.Dispose method. More... | |
Projection that the Edge analysis of Common Vision Blox is using.
The projections are what is being used internally inside the Edge finding algorithms and the Projection object may in fact be used to build a customized edge detection.
Projection | ( | ImagePlane | plane, |
Area2D | aoi | ||
) |
Create an ProjectionMode.Sum projection object.
plane | Image plane to create the projection from. |
aoi | Area of interest to scan. |
Projection | ( | ImagePlane | plane, |
Area2D | aoi, | ||
ProjectionMode | mode | ||
) |
Create a projection object.
plane | Image plane to create the projection from. |
aoi | Area of interest to scan. |
mode | Mode to use. |
Projection | ( | ImagePlane | plane, |
Area2D | aoi, | ||
ProjectionMode | mode, | ||
double | density | ||
) |
Create a projection object.
plane | Image plane to create the projection from. |
aoi | Area of interest to scan. |
mode | Mode to use. |
density | Density at which to scan. This is a percentage value how many pixels to process: 0.0 means 0% and 1.0 means 100%. |
EdgeResult[] CalculateZeroCrossings | ( | ) |
Get all the zero crossings, that are in the projection.
Projection Derive | ( | ) |
Create derivative of this projection.
|
protectedvirtual |
IDispose helper function.
disposing | true when called via IDisposable.Dispose, false when called by the finalizer. |
unsafe Projection Filter | ( | int[] | kernel | ) |
Projection ToAverageProjection | ( | ) |
Create a new averaged projection from this one.
|
get |
Native non projection handle.
It is normally not necessary to work with this handle in CVB.Net. Note that using this handle in connection with the legacy CVB managed wrappers may actually be disruptive to your application.
Implements INativeHandle.
|
get |
Retrieve the values of the projection.
Double array with the projection values.
ObjectDisposedException | if the Projection object has already been disposed |
NativeHandleEventDelegate ObjectDisposing |
Raised when this object is about to be disposed via the IDisposable.Dispose method.
This event is raised right before this object is disposed. The dispose itself cannot be canceled.