If I have an RGB image as a HxWxC numpy array and I want to reduce it to an HxW numpy array where all the entries are 0 if the color isn\'t an exact RGB value and 255 if it