MatchingData#

The matching_data module serves as data container for exhaustive template matching.

Constructor#

MatchingData(target, template[, ...])

Contains data required for template matching.

Conversion#

MatchingData.to_backend()

Transfer and convert types of class instance's data arrays to the current backend

Attributes and underlying data#

MatchingData.target

Return the target.

MatchingData.template

Return the reversed template.

MatchingData.target_mask

Return the target mask.

MatchingData.template_mask

Return the reversed template mask.

MatchingData.rotations

Return stored rotation matrices.

Utilities#

MatchingData.subset_array(arr, arr_slice, ...)

Extract a subset of the input array according to the given slice and apply padding.

MatchingData.subset_by_slice([target_slice, ...])

Subset class instance based on slices.