affinelayer / pix2pix-tensorflow

Tensorflow port of Image-to-Image Translation with Conditional Adversarial Nets https://phillipi.github.io/pix2pix/
MIT License
5.07k stars 1.3k forks source link

What is sRGB? #161

Open mrgloom opened 5 years ago

mrgloom commented 5 years ago

What is sRGB here? https://github.com/affinelayer/pix2pix-tensorflow/blob/0f2174424356162920fc25067e63db2bcf19f4e7/pix2pix.py#L150

i.e. is it just RGB in opencv? like

img_bgr = cv2.imread('img.png')
img_rgb = cv2.cvtColor(img_bgr, cv2.COLOR_BGR2RGB)