How do I interpret the information in the location output matrix from cuda::findMinMaxLoc?
This may be a stupid question, but when I run cuda::findMinMaxLoc it produces a 1x2 32FC1 Mat for "location". Apparently this somehow contains information about the locations of the min and the max, but I have no clue how 2 digits are giving me coordinates for two points.
Any help is appreciated.
Is there any difference between cuda::findMinMaxLoc and cuda::minMaxLoc? Maybe you can try with the last one
Any luck with this?
Yeah the normal minMaxLoc works fine, but I was kinda just interested in figuring out what I was missing about findMinMaxLoc, because unless I'm completely missing something, it seems completely broken. Returning a 1x2 Mat makes no sense and the documentation doesn't explain any expected behavior either.
I'll take a look later at source code to see if I can figure out anything. I truly still don't know the difference between both functions.