cv::minMaxIdx in Java

In version 4.7.0 (Java) there is a cv::minMaxLoc function, but not a cv::minMaxIdx function. But I need this.

Is it now under 4.8.0?

Can I still simply use this function under Java?

https://docs.opencv.org/4.x/javadoc/org/opencv/core/Core.MinMaxLocResult.html

1 Like

This is of no use to me since I don’t need the result, but the column/row it’s in. For this I need the *Idx function, which is not passed on to Java via JNI.

Sorry, you are right. Not only the values are returned, but also the positions. Since I use Points to process pixels in my image, I didn’t expect these to be the coordinates in the matrix.

Thanks for the hint.