F1sher
F1sher

Reputation: 7310

OpenCV4Android - how to use CLAHE algorithm?

I wanted to use CLAHE Algorithm on my image, but I can't find any trace of it in OpenCV4Android tools like Core, Imgproc. Documentation says that it should be in Core class:

http://docs.opencv.org/java/

Could anyone tell me if it's avaliable in Android?

Upvotes: 2

Views: 779

Answers (2)

user1712200
user1712200

Reputation: 349

Imgproc.createCLAHE().apply(inmat, outmat);

Upvotes: 0

Mahm00d
Mahm00d

Reputation: 3921

It's in Imgproc. But unlike other algorithms which are static methods, it's a class:

From OpenCV java docs:

public class CLAHE
extends Algorithm

Here is the doc:

http://docs.opencv.org/java/org/opencv/imgproc/CLAHE.html

Upvotes: 2

Related Questions