MatchingData.target_padding#
- MatchingData.target_padding(pad_target=False)[source]#
Computes the padding of the target to the full convolution shape given the registered template.
- Parameters:
- pad_targetbool, optional
Whether to pad the target, defaults to False.
- Returns:
- tuple of int
Padding along each dimension.
Examples
>>> matching_data.target_padding(pad_target=True)