junyanz / interactive-deep-colorization

Deep learning software for colorizing black and white images with a few clicks.
https://richzhang.github.io/ideepcolor/
MIT License
2.69k stars 447 forks source link

What is a,b value for black color. #88

Open rsingh-aiborne opened 2 years ago

rsingh-aiborne commented 2 years ago

what is ab value of black color

Benitoite commented 2 years ago

In CIELAB, the absence of light has no color; black is L=0, a=0, b*=0, notwithstanding any colorspace conversions.

rsingh-aiborne commented 2 years ago

I know that but, how to set the value of L? ! wanted to convert white wall into black

junyanz commented 2 years ago

The code will preserve the L channel by default and only predict ab channels. If you really want to change the L channel, you can modify this line.