Great repo.
But it seems that adjust_hue and adjust_saturation functions are exactly the PIL implementations (PyTorch official implementations). I wonder are there OpenCV implementations for these two functions, since the adjust_hue is rather slow, and adjust_saturation is a little slow when compared with adjust_contrast and adjust_brightness functions.
In my testing cases, given one 224x224x3 input, adjust_contrast takes about 188 µs, adjust_saturation takes about 2.33 ms, and adjust_hue takes about 6.99 ms.
Great repo.
But it seems that
adjust_hueandadjust_saturationfunctions are exactly the PIL implementations (PyTorch official implementations). I wonder are there OpenCV implementations for these two functions, since theadjust_hueis rather slow, andadjust_saturationis a little slow when compared withadjust_contrastandadjust_brightnessfunctions.In my testing cases, given one 224x224x3 input,
adjust_contrasttakes about 188 µs,adjust_saturationtakes about 2.33 ms, andadjust_huetakes about 6.99 ms.