Ask Your Question

Revision history [back]

C++ CV::Mat.at<float>(0) in Java

I'm currently converting the code from this answer(How to make auto-adjustments(brightness and contrast) for image Android Opencv Image Correction)

In this answer, the following statement is used:

accumulator[0] = hist.at<float>(0);

After reading some documentation and code snippets I can't seem to figure out how I should translate this statement to Java.

Does someone know how this would be written in Java?

Tom,