Skip to Content
Python迁移学习
book

Python迁移学习

by Posts & Telecom Press, Dipanjan Sarkar, Raghav Bali, Tamoghna Ghosh
May 2024
Intermediate to advanced
373 pages
6h 6m
Chinese
Packt Publishing
Content preview from Python迁移学习

第12章 图像着色

五光十色是大自然展露的微笑。

——利·亨特(Leigh Hunt)

19世纪40年代之前,照片的颜色都是黑白的。1908年,Gabriel Lippmann获得诺贝尔物理学奖,自此开启了色彩捕捉的时代。1935年,Eastman Kodak公司推出了一款名为Kodachrome的三合一彩色胶卷,用于拍摄彩色照片。

彩色图像不仅能体现美学,还能比黑白图像捕捉到更多的信息。颜色是现实世界物体的一个重要属性,它为我们感知周围世界增加了另一个维度。色彩是如此重要,以至于在历史上有许多为历史艺术作品和摄影作品着色的项目。随着Adobe Photoshop和GIMP等工具的出现,人们开始尝试将老照片转变为彩色照片。reddit网站的r/Colorization子群组是一个在线社区,人们在这里分享他们将黑白图像转换为彩色图像的经验。

到目前为止,本书已经在不同的领域和场景中展示了迁移学习的强大之处。在本章中,我们将介绍使用深度学习对图像着色的概念,并利用迁移学习对结果进行改进。本章涵盖以下主题:

  • 问题陈述;
  • 理解图像着色;
  • 彩色图像;
  • 构建基于深度神经网络的着色网络;
  • 挑战;
  • 进一步改进。

下面我们将使用黑白、单色和灰度这3个术语来表示没有任何颜色信息的图像。

照片不仅能帮助我们重温回忆,还能让我们洞察过去发生的重要事件。在彩色摄影成为主流之前,我们的摄影作品大多是黑白的。图像着色的任务是将给定的灰度图像转换为合理可信的彩色图像。

图像着色的任务可以从不同的角度进行。手动着色的过程非常耗时并且需要高超的技巧(详情参见reddit网站的r/Colorization子板块)。计算机视觉和深度学习领域的研究人员一直在研究将该过程自动化的不同方法。本章将介绍如何利用深度神经网络来完成这样的任务。我们还将尝试利用迁移学习的力量来对结果进行改善。 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

(Re)Value

(Re)Value

Adam Wallace
深度学习实战手册(R语言版)

深度学习实战手册(R语言版)

Posts & Telecom Press, PKS Prakash, Achyutuni Sri Krishna Rao
Python计算机视觉和自然语言处理

Python计算机视觉和自然语言处理

Posts & Telecom Press, Álvaro Morena Alberolaï, Gonzalo Molina Gallegoï, Unai Garay Maestreï
人工智能技术与大数据

人工智能技术与大数据

Posts & Telecom Press, Anand Deshpande, Manish Kumar

Publisher Resources

ISBN: 9781836205418