Performs advanced morphological Gradient transformations
img_ret=cv_gradient(image,kernel_type,kernel_size)
Input image
It accepts Integer/Float As Input 1->MORPH_RECT 2-> MORPH_ELLIPSE 3-> MORPH_CROSS
It accepts a List As Input specifying the size of Kernel needed example [5,5]
Output image
Performs advanced morphological Gradient transformations
he function can perform advanced morphological Gradient transformations using an erosion And dilation As basic operations