<< cv_sift ComputerVision cv_surf >>

ComputerVision >> ComputerVision > cv_sobel

cv_sobel

"Calculates the first, second, third or mixed image derivatives using an extended Sobel operator"

Calling Sequence

"image"=cv_sobel("img","ddepth","xorder","yorder","ksize","mode")

Arguments

"img"

"Input image"

"xorder"

"order of the derivative x"

"yorder"

"order of the derivative y"

"ksize"

"size of the extended Sobel kernel; it must be 1, 3, 5, or 7"

"mode"

"It is used to set output image depth. If it is 1 then output image depth is cv2.CV_16S else if it is 2 then its cv2.CV_64F"

"image"

"Output image"

Description

"Sobel"

"Calculates the first, second, third, or mixed image derivatives using an extended Sobel operator that convolves the image with the appropriate kernel."

Examples

"[image]=cv_sobel(input_image, 1, 0, 3,1);"

See Also


Report an issue
<< cv_sift ComputerVision cv_surf >>