How to compute Image gradients?
In X Direction - Kernel : -1 0 1
In Y Direction - Kernel : -1 0 1
Let's assume my input image is:
unsigned char* imgImage;
Could any one please share code. I am newbie to image processing. Is it possible to do in OpenCV with this same kernel?
Thanks a lot in advance!