vivianhylee/seam-carving

What is the meaning of kernel_x?

Woolseyyy opened this issue · 0 comments

I don't understand the contribution of kernel_x, kernel_y_left and kernel_y_right in energy forwarding computing.
According to the paper, output(row, col) = energy(row, col) + min(output(row-1, col-1), output(row-1, col), output(row-1, col+1)).
What is kernel_x, kernel_y_left and kernel_y_right for?