0

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?

A Merii
  • 574
  • 9
  • 21

0 Answers0