how implement Sobel edge detection opencv [closed]

asked 2019-04-01 05:25:15 -0500

jamie anderson gravatar image

I am trying to implement sobel edge detection from scratch but my output can't seem to match with OpenCV's sobel function. I performed correlation on the image with the sobel operator in both x and y directions and then computed gradient magnitude as square root of sum of squares of magnitudes in both x & y direction. I believe the problem is how I assign the threshold for edge detection.

edit retag flag offensive reopen merge delete

Closed for the following reason question is off-topic or not relevant by berak
close date 2019-04-01 05:38:55.060456

Comments

hey, we can help you with opencv usage, but if you need to implement your own (homework ???)

-- this is the wrong place to ask.

berak gravatar imageberak ( 2019-04-01 05:38:33 -0500 )edit