Minimum mat in an array of mats
Say I have an array of 15 Mats that I have read in from 15 bitmap files. I want one Mat produced from those 15 that is the minimum at each element through the array of 15. At (1,1), the smallest value of any (1,1) of the 15 Mats, the same at (1,2), etc.
Thanks in advance!
do you want to sort them?
Nope! I just want 1 Mat produced, with that Mat being the element by element minimum across the array of Mats. Ideally without doing the min function a ton of times