ImgLineFree |
Top Previous Next |
Prototype
ImgLineFree(intLineHandle)
Description
Delete line object.
Parameters
intLineHandle: integer value corresponding to line handle.
Returned Value
None
Notes
None.
Example
// Image Size W:=ImgGetWidth(_CurrentImage); H:=ImgGetHeight(_CurrentImage);
// Calculate area where find the binding YStart:=0; YEnd:=H-1; XStart:=Round((W/11)*5); XEnd:=Round((W/11)*6);
//Set tolerance: 5% Noise:=-5; // 5% of pixels surrounding white holes
// Find binding line L:=ImgfindbindingbyValleys(_CurrentImage,XStart,YStart,XEnd,YEnd,Noise);
// Find line coordinates XTop:=ImgLineGetX1(L); XBottom:=ImgLineGetX2(L);
// deallocate handle ImgLineFree(L); |