Usage: lintophat in.pgm length out.pgm
Description: Max of morphological black top hats by linear structuring elements, in all possible discrete directions. Let F be the original image and E be a structuring element, the black top hat of F by E is defined by F - closing(F, E). The closing deletes dark structures that do not match the structuring element, thus the black top hat detects those dark structures. For a linear structuring element, the detected structures are those which are orthogonal to the se. The length if the linear structuring elements is given by length.
Types supported: byte 2d
Category: morpho