Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

oh dear, i'm afraid, you can't use it out-of-the-box

the long story goes like this : the c++ api is using a factory function, createCLAHE(), which returns a cv::Ptr<clahe>. unfortunately the java wrappers can't handle those smartpointers, and skip anything that returns them. ( there's a few other classes, like the facerecognition, that suffer from that problem, too ).

so, unless you go the jni way and work around that on your own, you won't be able to construct a CLAHE object in java.

oh dear, i'm afraid, you can't use it out-of-the-boxout-of-the-box from java

the long story goes like this : the c++ api is using a factory function, createCLAHE(), which returns a cv::Ptr<clahe>. unfortunately the java wrappers can't handle those smartpointers, and skip anything that returns them. ( there's a few other classes, like the facerecognition, that suffer from that problem, too ).

so, unless you go the jni way and work around that on your own, you won't be able to construct a CLAHE object in java.