What is use of sobel operation in OpenCV?

Sharad Jaiswal
Sharad Jaiswal

Posted On: Feb 22, 2018

 

The Sobel is a filter in the OpenCV to detect the edge of an image. It detects the edge in both horizontal and vertical directions.

Syntax

Sobel(src, dst, ddepth, dx, dy) 

Here src is the object representing the source of the image. Dst is the object representing the output image. Ddepth is the variable representing the depth of the image. Dx and dy are variables representing the x & y derivative.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    OpenCV interview questions

    What is OpenCV?

    OpenCV is Open Source Computer Vision Library relaesed under BSD license, which is free for both commercial and academic..

    OpenCV interview questions

    Enlist different types of video filters available in OpenCV ?

    Blurring, Smoothing, Distortion, Warp Stabilizer, alpha extract, bilateral, color matrix, chrome hold are few video filters available in OpenCV....

    OpenCV interview questions

    What is use of Mat class in OpenCV?

    The primary use of the Mat class in OpenCV is to store and obtain the values of any image. This class is used in representing the n-dimensional array and is utilized in storing data of the image of gr...