This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.

# HitMissTransform

 HitMissTransform gives the hit-and-miss transform of image with respect to the composite structuring element ker. HitMissTransformgives the union of the hit-and-miss transforms for all the structuring elements . HitMissTransformtreats values above t as foreground.
• The composite structuring element ker is a matrix containing , , and elements, with elements representing foreground and elements representing background.
• HitMissTransform automatically adds zeros to structuring elements so that they have odd dimensions.
Find all foreground pixels that are below a background pixel:
Find bottom-right corners:
Find all corners by specifying four structuring elements:
Find the larger disk:
Find all foreground pixels that are below a background pixel:
 Out[1]=

Find bottom-right corners:
 Out[1]=
Find all corners by specifying four structuring elements:
 Out[2]=

Find the larger disk:
 Out[1]=
New in 7