Hello, I am looking for a method to apply a function to every single element of an input matrix. I've looked at remap() and transform(), but they both take a transformation matrix. What I am looking for is the equivalent of the map() function in Python.
PS I understand I can iterate through and apply the function to each of the the elements in my input matrix, but I am hoping CV has something built in because that might have been optimized.