Ask Your Question
0

Sobel function documentation

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

mika S gravatar image

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

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 http://docs.opencv.org/2.4/doc/tutori... 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
0

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

x10s gravatar image

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

A simple search in the documentation gave me this http://docs.opencv.org/2.4/modules/im...

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

Comments

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 -0600 )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 -0600 )edit

Question Tools

1 follower

Stats

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

Seen: 302 times

Last updated: Oct 14 '16