So I have a numpy array representing an opencv image and I want to get all positions where all values of a 1d array in the 3d array fulfill a condition like this:
array1 = [[[186 123 231], [184 126 76]], [[224 187 97], [187 145 243]]]
array2 = [150, 180, 250]
the condition should be that the first element of array1 should be greater and the second and third smaller than their corresponding value in array2 to get this output
[[0 0], [0 1], [1 1]
meaning that the first, second, and fourth elements in array1 fulfilled the condition. I know that there is probably no way to express this worse than I just did but I hope someone can still help me.