Skip to main content

New answers tagged

2 votes

conv2 Template Function Implementation for Image in C++

Think about the names you use. The function's input images are called x and y, which makes the subsequent ...
Toby Speight's user avatar
  • 76.9k
2 votes

conv2 Template Function Implementation for Image in C++

I see several problems with the overall design. I'll refer to issues that @CrisLuengo didn't cover. Interface: I am not entirely sure what exactly the aim of this ...
ALX23z's user avatar
  • 2,348
6 votes
Accepted

conv2 Template Function Implementation for Image in C++

Algorithm I like the algorithm you use. Usually people will implement convolution by doing all computations for one output pixel in the inner two loops. I honestly don't know which is more efficient, ...
Cris Luengo's user avatar
  • 5,778

Top 50 recent answers are included