Ask Your Question
0

Hyperbolic tangent on Image

asked 2012-07-26 19:31:30 -0500

DS gravatar image

Is there a way to get the hyperbolic tangent of the Mat image ?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2012-09-30 03:38:39 -0500

Kirill Kornyakov gravatar image

If you need per-element hyperbolic tangent, you can easily achieve this with cv::exp and trivial arithmetics. Check wikipedia on how you can calculate tanh having exp.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

Stats

Asked: 2012-07-26 19:31:30 -0500

Seen: 2,093 times

Last updated: Sep 30 '12