MatchingData.target_padding#

MatchingData.target_padding(pad_target=False)[source]#

Computes padding for the target based on the template’s shape.

Parameters:
pad_targetbool, default False

Whether to pad the target, default returns an array of zeros.

Returns:
tuple of ints

Padding along each dimension of the target.