I was reading an image processing tutorial and came across this line of python:
gray = lambda rgb : np.dot(rgb[... , :3] , [0.299 , 0.587, 0.114])
What does the '...' operator do in this case?
I was reading an image processing tutorial and came across this line of python:
gray = lambda rgb : np.dot(rgb[... , :3] , [0.299 , 0.587, 0.114])
What does the '...' operator do in this case?