What is different between these convolution algorithms?
Why y=0 and y<1, x = 0; x < 1 and the other y=1 and y <-1, x < - 1.
for(int y = 0; y < grey.rows; y++)
for(int x = 0; x < grey.cols; x++)
dst.at<uchar>(y,x) = 0;
This is the second convolution:
for(int y = 1; y < grey.rows - 1; y++){
for(int x = 1; x < grey.cols - 1; x++)