Hello,
I can't find a way to find the location of a min/max data in a data1D or data2D.
For instance, imagine I want to implement an OTSU binarization on 8-bit images. The idea is to compute an histogram, then find the good threshold maximizing the separation of pixels into two classes. I could just compute in parallel the 256 possible threshold separations, and select the one maximizing some formula. But I would need to detect a max and apply it to some branch select. Is it possible ?
Other use case : I perform a convolution with a kernel, and want to find the location of the maximum result of the convoution to perform some work around that location.
Is it possible with standard operators ?