espressif / esp-dsp

DSP library for ESP-IDF
Apache License 2.0
474 stars 88 forks source link

conv 和 corr 的实现有误 (DSP-83) #45

Closed 369zz closed 1 year ago

369zz commented 2 years ago

conv 和 corr 计算的实现有误。 以函数 dsps_corr_f32_ansi 为例 image 红框内的判断条件应该是 n <= (siglen - patlen),否则会少算一个点,导致错误。 同理,dsps_corr_f32_ansi 的实现中也有这个错误。

dmitry1945 commented 1 year ago

Hi @369zz

The issue is fixed. Thank you very much!

Dmitry