Contextual Template Matching: A Distance Measure for Patterns with Hierarchically Dependent Features | IEEE Journals & Magazine | IEEE Xplore