Ask Your Question
0

Hyperbolic tangent on Image

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

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

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

Question Tools

Stats

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

Seen: 2,663 times

Last updated: Sep 30 '12