How can I most efficiently find the index of pixels within epsilon of the L2 distance from a desired colour?
I could do three nested loops but im told that loops are quite inefficient and that maybe a vectorised solution was available. Is it possible to use something like np.where or np.argwhere to find this?