Available in the LEADTOOLS Imaging toolkit.
SpatialFilter example for C++ 4.0 and later
This example applies Laplacian line detection and redisplays the image.
m_Lead1.SpatialFilter(FLT_LAPLACE_1); m_Lead1.ForceRepaint();