8.2   Edge Detection

For the detection of edges the following sequence of HALCON/C++ operators can be applied:

  HImage  Image("file_xyz");
  HImage  Sobel = Image.SobelAmp("sum_abs",3);
  HRegion Max   = Sobel.Threshold(30,255);
  HRegion Edges = Max.Skeleton();

Some notes: