adjust_contrast and adjust_color not support gray images?
It seems like the source code always calls bgr2gray. The default input image is in BGR format. Could you add a condition for this?
Any other context?
In the mmcv library, are the functions for adjusting images by default in BGR format, and do they not support grayscale?
No response
What is the feature?
adjust_contrast
andadjust_color
not support gray images? It seems like the source code always callsbgr2gray
. The default input image is in BGR format. Could you add a condition for this?Any other context?
In the mmcv library, are the functions for adjusting images by default in BGR format, and do they not support grayscale? No response