Ask Your Question

Revision history [back]


C / C++ is case sensitive (because computing systems are naturally case sensitive)


you must to change the line

Ptr<clahe> clahe = createCLAHE();

to

Ptr<CLAHE> clahe = createCLAHE();

C / C++ is case sensitive (because computing systems are naturally case sensitive)


you must to change the line

Ptr<clahe> clahe = createCLAHE();

to

Ptr<CLAHE> clahe = createCLAHE();

also you must to convert your image to GRAYSCALE to apply CLAHE or simply load your image GRAYSCALE

Mat m= imread("teste.png", IMREAD_GRAYSCALE);