将图层亮度与图层色度相结合(Combine layer chrominance with image luminance)

编程入门 行业动态 更新时间:2024-10-10 10:30:59
图层亮度与图层色度相结合(Combine layer chrominance with image luminance)

我已经阅读了这本彩色纸 ,它说:

彩色化网络的输出层由一个具有Sigmoid传递函数的卷积层组成,该函数输出输入灰度图像的色度。

为了得到彩色图像,他们说:

计算出的色度与输入强度图像组合以产生最终的彩色图像。

所以我已经实现了它并获得了深度为2的输出图层,但是如何获取彩色图像呢? 如何将灰度图像亮度值与深度2的输出图层(a * b颜色)组合以获得最终图像?

我使用tensorflow和python。

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库来实现它,以制作图像色度值的张量并用相同的方法将其与亮度进行比较。

Ok, I tried to implement it by using Skimage library to make a tensor of image chrominance values and compine it with the luminance by the same method.

更多推荐

本文发布于:2023-07-25 15:40:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1262771.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:图层   色度   亮度   Combine   luminance

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!