Ask Your Question

lancelod's profile - activity

2017-11-01 12:38:31 -0600 received badge  Popular Question (source)
2014-10-17 02:37:11 -0600 commented question how to use createCLAHE in python's namesapce cv2?

thank you, i will try 3.0.

2014-10-17 01:36:43 -0600 asked a question how to use createCLAHE in python's namesapce cv2?

I've read the opencv-python-toturial and saw a example as below:

import numpy as np
import cv2
img = cv2.imread('tsukuba_l.png',0)
# create a CLAHE object (Arguments are optional).
clahe = cv2.createCLAHE(clipLimit=2.0, tileGridSize=(8,8))
cl1 = clahe.apply(img)
cv2.imwrite('clahe_2.jpg',cl1)

I've installed opencv but cannot find the cv2.createCLAHE method, is this a bug? My opencv version is 2.4.2 and Python 2.7.5.