"git@developer.sourcefind.cn:OpenDAS/mmcv.git" did not exist on "a3a078eefb703cc22412af0d133e9c378cb3f56f"
support grayscale / RGB alpha conversions (#5567)
* support grayscale / RGB alpha conversions * use _max_valu from stable * remove extra copy for PIL conversion * simplify test image generation for color spaces with alpha channel * use common _max_value in tests * replace dynamically created dicts with if/else * make color space conversion more explicit * make even more explicit * simplify alpha image generation * fix if / elif * add error for unknown conversions * rename RGBA to RGB_ALPHA * cleanup * GRAYSCALE to GRAY
Showing
Please register or sign in to comment