Ask Your Question

Sobel function documentation

asked 2016-10-14 12:15:30 -0500

mika S gravatar image

updated 2020-10-12 07:51:37 -0500

I am looking for more documentation around the Sobel function arguments but I have been unable to find. Here is what I am after: This tutorial calls :

   Sobel( src_gray, grad_x, ddepth, 1, 0, 3, scale, delta, BORDER_DEFAULT );

I understand src_gray, grad_x . What is ddepth for . What are the arguments 1,0, 3. What is scale and delta and BORDER_DEFAULT. I am unable to find this in the documentation anywhere.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-10-14 13:37:23 -0500

x10s gravatar image

updated 2016-10-14 13:51:36 -0500

A simple search in the documentation gave me this

scale is the scaling factor for the computed derivatives while delta is the delta that can be added to the output image before it is stored. borderType should be the way the border pixels are extrapolated(I'm not a 100% sure on this)

edit flag offensive delete link more


Thanks. Any idea what it means "delta is the delta that can be added to the output image"

mika S gravatar imagemika S ( 2016-10-14 17:23:28 -0500 )edit

Delta is usually used in math to refer to a change in value e.g x +/- delta

x10s gravatar imagex10s ( 2016-10-17 10:04:02 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2016-10-14 12:15:30 -0500

Seen: 111 times

Last updated: Oct 14 '16