HitMissTransform
HitMissTransform[image,ker] gives the hit-or-miss transform of image with respect to the composite structuring element ker.
HitMissTransform[image,{ker1,ker2,…}] gives the union of the hit-or-miss transforms for all the structuring elements keri.
HitMissTransform[image,{ker1,ker2,…},t] treats values above t as foreground.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.