I'm trying to examine multiple tone-mapping operators in Open CV, using Python.
Various sources use four operators (Drago, Durand, Reinhard, Mantiuk). Three of them work. However, when I call up cv2.createTonemapDurand()
, I get this error:
AttributeError: module 'cv2.cv2' has no attribute 'createTonemapDurand'
Is it possible to call the Durand operator somehow, or did Open CV drop that one recently?
Thanks!
I'll switch from comment to answer to have a better representation.
you just have to :
Be aware that, if u compiled opencv by yourself, you had to check OPENCV_ENABLE_NONFREE.