Hyperbolic tangent on Image
Is there a way to get the hyperbolic tangent of the Mat image ?
add a comment
Is there a way to get the hyperbolic tangent of the Mat 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
.
Asked: 2012-07-26 19:31:30 -0600
Seen: 2,663 times
Last updated: Sep 30 '12