20.6   Selecting Specific Orientations

Yet another application example of morphological operations is the selection of image objects with specific orientations:

  ...
  segmentation(Image,&Seg);
  gen_rectangle2(&Mask,100.0,100.0,0.5,21.0,2.0);
  opening(Seg,Mask,&Res);