Available in the LEADTOOLS Imaging toolkit.
SpatialFilter example for Visual Basic
This example applies Laplacian line detection and redisplays the image.
Lead1.SpatialFilter FLT_LAPLACE_1 Lead1.ForceRepaint