简体   繁体   中英

Combine layer chrominance with image luminance

I have read this Colorization paper and it said:

The output layer of the colorization network consists of a convolutional layer with a Sigmoid transfer function that outputs the chrominance of the input grayscale image.

and in order to get the colored image they said:

the computed chrominance is combined with the input intensity image to produce the resulting color image.

So I have implemented it and get the output layer with depth two, but how can I get the color image? How can I combine the greyscale image luminance values with the output layer of depth 2 (a*b colors) to get the final image?

I use tensorflow and python.

好的,我尝试通过使用Skimage库实现图像色度值的张量并通过相同的方法将其与亮度组合来实现它。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM