Open egorovp opened 5 years ago
Still looking at this one--please be patient. 😃
The spec seems to have stated it wrong. Sliding the template within the image will result in the width/height as calculated in the CTS. This is how it is derived in Sample Implementation as well (see vxCalculateBufferSizes(
) in kernels/c_model/c_matchtemplate.c
). The spec needs to be corrected.
@fbrill3, thank you for your responses. Looking forward to update
Problem:
Error in the dimensions of the output map in CTS(OpenVX Conformance Test Suite).
Quote from standard:
Why in CTS the output map has following dimensions:
result_width =
source_width - template_width + 1
, result_height =source_height - template_height + 1
instead of
(source_width, source_height)
?Links: