You are on page 1of 6

WHAT IS SOBEL FILTER?

 It is a gradient based method


 It applies horizontal and vertical masks to the image
 The sobel operator is very similar to prewitt operator
SOBEL USED IN CODE
FUNCTIONS USED IN PYTHON

Numpy.hypot()
Numpy.arctan2
IMPLEMENTED CODE
Click icon to add picture
WHAT DOES Numpy.arctan2
WHAT DOES np.hypot do?
do?
 The np.hypot () is used to compute NumPy Arctan2 is one of the
hypotenuse of right angled triangle’s trigonometric functions provided by
sides.The hypotenuse is opposite and the NumPy Library.It takes two
adjacent to the other two sides of the arguments x1 and x2 and returns the
triangle arctan (tan inverse) of x1/x2 choosing
the quadrant correctly.
 np.hypot=sqrt[(opposite)²+
(adjacent)²] numpy.arctan2(x1, x2) where x1 and
x2 represent the Y-Coordinate and X-
Coordinate of the point, respectively.

You might also like