Ask Your Question
0

Clahe Algorithm

asked 2016-12-08 02:03:27 -0500

Naveen Hegde gravatar image

Hi, I am working on image processing and want clahe algorithm. Please help me to resolve the problem.

Thanks, Rashmi

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-12-08 02:41:57 -0500

berak gravatar image

it's actually pretty easy:

Mat src = ... // 1 channel, grayscale required
Mat dst;      // start empty
int thresh = 50;
Ptr<CLAHE> cl = createCLAHE(50);
cl->apply(src, dst);
edit flag offensive delete link more

Comments

Thank you but sorry I didn't mention above, I want in c/c++

Naveen Hegde gravatar imageNaveen Hegde ( 2016-12-08 06:14:10 -0500 )edit

dear, above is c++ code. (and you can't use c with opencv any more)

berak gravatar imageberak ( 2016-12-08 06:19:45 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2016-12-08 02:03:27 -0500

Seen: 210 times

Last updated: Dec 08 '16