Confused about the codes at line 139, convolve_2d.c
blackball opened this issue · comments
Why there's a id_kernel with the special values like that ? Thanks.
Apologies for the delay - I've been away. The answer is because of me playing with stuff (so ignore it)! I'm pretty sure that 2d code is broken (just because I was messing around trying to make it go fast). I would suggest all the interesting stuff is in the convolve.c file. The (separable) 2d code is just one test implementation of multiple 1d convolutions combined with a transpose. The 1d convolutions are just taken from the convolve.c file.
Got it! Thanks!