Convert frame to grayscale and equalize.