I use C# and EmguCV 3.X. I need Abs method for Sobel method to make postive negative edges
. Is there any method like Abs() in emgucv 3.x? Processing time is very important for me. Any help will be appreciated.
Asked
Active
Viewed 259 times
-1

Babak.Abad
- 2,839
- 10
- 40
- 74
-
`Math.Abs()` should work. – Sam Axe Oct 17 '19 at 19:03
-
Are you using Mat or Image
? – Quergo Jan 27 '20 at 22:51
1 Answers
0
EmguCV is an OpenCV wrapper which also wraps OpenCV's abs()
function to calculate the absolute of each pixels value in an image.
For single values just use C#'s Math.Abs()

Piglet
- 27,501
- 3
- 20
- 43