robustTemplateMatching icon indicating copy to clipboard operation
robustTemplateMatching copied to clipboard

Zero index max_indices not handled by code

Open Arka161 opened this issue 4 years ago • 1 comments

If the max_indices contain 0s, then the code completely breaks and we are unable to compute the bounding box.

Steps to reproduce:

Any scenario where max_indices has a 0 value breaks the code, as we run into the following broadcasting error:

image

A potential fix could be changing the slicing methodology for the NCC_part component.

Arka161 avatar Jun 15 '21 16:06 Arka161

Fix for this has been made in the PR (and most other issues).

@kamata1729

Arka161 avatar Jun 16 '21 17:06 Arka161