文字稿 · CC BY 4.0

光学原理:相机、镜头与望远镜——讲座转录

本页标题、字幕、摘要和阅读笔记为已保存的 AI 译文,可能有误。时间戳与来源一致,可展开查看原始字幕,并对照原视频核对。

跟随光线从针孔相机到镜子和镜头,然后了解对焦和分辨率如何影响相机和望远镜产生的图像。

Improbable Matter · 发布于 · 12 分钟 · 英语 · 许可证:CC BY 4.0 · 来源:在 YouTube 上观看

文字稿来源:创作者上传至 YouTube 的字幕。AI 标点由 Vidleaf 添加;原始措辞和时间戳锚点均保留。原始文字稿见下方。

AI 生成的摘要

视频解释了光学器件如何聚焦光线,使探测器(例如手机或网络摄像头中的像素网格)形成分离的图像,而不是模糊一片。没有光学器件时,来自两个不同颜色灯泡的光会散布到所有像素上,看起来呈紫色;针孔会挡住每个灯泡除一条光线外的所有光线,将它们分开,不过图像是倒立的。针孔相机(源自拉丁语 camera obscura)说明了孔径(收集的光量)与分辨率(限制光线方向)之间的权衡:较大的孔允许更多光进入但会模糊,而较小的孔会使图像变暗。曲面镜被塑造成球面或抛物面的一部分,将来自不同角度的光线反射到不同的探测器区域,原则上可以做得很大以收集大量光线,但它们笨重且长,因此主要用于望远镜,例如艾萨克·牛顿的望远镜和哈勃空间望远镜。透镜利用折射,在光进入和离开玻璃时使其弯曲,并且可以做得很大同时保持紧凑,使它们成为最普遍的光学器件,例如在眼睛或手机摄像头中。视频随后描述了聚焦:每个透镜都有一个焦距,放置得太近或太远的探测器会失焦,因此相机会移动透镜,而眼睛的肌肉会改变其形状。近视和远视的人无法将焦点移动得足够远,眼镜或隐形眼镜可以纠正这一点。其他光学仪器,例如双筒望远镜,也使用透镜组合来弯曲光线方向。没有光学器件是完美的,因此光线永远不会完全聚焦,一个微小的光点总是至少显示为一个像素的大小;这些效应共同意味着两个靠近的光点可能看起来合并了。分辨率衡量两个点可以靠得多近而仍能被区分,它决定了图像特征的清晰程度以及物体在融入背景之前可以多小或多远。大多数物体只是反射光,所有物质都在某种程度上反射光:平面镜中的灯泡是镜面反射,因为光滑表面使光线保持有序,而砖墙的反射是漫反射,因为粗糙度使光线散射,并且砖会优先吸收某些颜色,允许棕色等颜色被反射。菲涅尔波带片、非线性光学和光纤等高级主题未涵盖。

根据文字稿生成。请对照原始视频核查所链接的段落。

带时间戳的章节摘要

光学如何聚焦光线

探测器与像素网格

  • [0:22] 某种颜色的光线沿直线传播,当它击中光电探测器时会记录其位置和颜色。
  • [0:31] 探测器可以是眼睛中的细胞或相纸,但视频重点介绍手机或网络摄像头中的那种。
  • [0:40] 就像由发光像素组成的屏幕一样,数码相机探测器是一个能够感光的像素网格。

为什么裸探测器会使图像模糊

  • [0:52] 爱丽丝拿了一个探测器去拍摄一个奇怪的交通灯,上面是红色灯泡,下面是蓝色灯泡。
  • [1:01] 准确的图像应该显示顶部红色像素、一个间隙,然后是底部蓝色像素。
  • [1:13] 实际上,光在两个灯泡前方扩散并同时照亮所有像素,因此每个像素都同样呈现红色和蓝色,图像看起来全是紫色。

用光学元件聚焦

  • [1:26] 需要光学元件来聚焦光线,使红光和蓝光分别到达探测器上的不同点,从而将两个灯泡分开,而不是混成紫色。

针孔解决方案与图像反转

  • [1:43] 最简单的解决方案是在探测器周围加一个盒子,挡住杂散光,并在探测器前方开一个小针孔。
  • [1:52] 针孔挡住了除一条红色光线和一条蓝色光线之外的所有光线,使它们落在探测器的不同部位,从而按预期将两个灯泡分开。
  • [2:06] 图像会变成倒立的,因为来自底部蓝色灯泡的光到达顶部,反之亦然,大多数光学元件都会出现这种情况。
  • [2:14] 计算机可以将图像反转回来,或者探测器可以通过接线来补偿这种反转;你的大脑已经自然适应了补偿眼睛中的这种效应。

针孔相机与孔径-分辨率的权衡

暗箱作为早期的图像记录工具

  • [2:26] 带针孔的暗箱是最早用于实际记录图像的光学工具之一。
  • [2:32] 现代词汇 camera 来自拉丁语短语 camera obscura,意为暗室。
  • [2:39] 一幅18世纪的插图展示了一个带针孔的暗箱。

孔径与分辨率之间的权衡

  • [2:45] 针孔相机说明了每个光学元件必须具备的两个主要特性。
  • [2:49] 如果针孔较大,每个灯泡会有太多光线进入,就好像根本没有光学元件一样。
  • [2:58] 把针孔变小会减少进入的光线,因此图像会变暗,直到完全消失。
  • [3:06] 针孔相机的问题在于到达探测器的光量(通常称为光学元件的孔径)与光线方向被限制的程度(光学元件的分辨率)之间的权衡。
  • [3:23] 理想情况下,光学器件应同时具备充足的光线和分辨率。

基于反射镜的光学器件

  • [3:27] 其他光学器件则由反射镜组成。

曲面镜作为光学成像系统

平面镜反射及其局限性

  • [3:32] 使用平面镜时,光的反射就像壁球撞到墙上弹回一样。
  • [3:40] 入射角等于反射角,二者均相对于法线测量,法线是指向镜面外的一条线。
  • [3:49] 仅靠平面镜无法阻止两个灯泡把整个探测器照成紫色。

曲面镜分离两个灯泡的光

  • [3:55] 反射镜必须弯曲成球面的一部分或抛物面的一部分。
  • [4:02] 来自两个灯泡的光线以不同角度到达,并被反射到探测器的不同部位,所有蓝色光线射向一处,所有红色光线射向另一处。
  • [4:16] 与针孔成像一样,图像是倒立的,但来自两个灯泡的光按要求到达探测器的不同部位。

权衡与望远镜应用

  • [4:23] 这种装置解决了针孔的主要问题,因为反射镜原则上可以做得任意大,在收集充足光线的同时仍能形成清晰的图像。
  • [4:34] 其主要缺点是笨重且非常长,部分原因是光线会被反射回自身。
  • [4:43] 因此,这种装置主要用于望远镜,其中镜筒构成暗室以阻挡杂散光,而第二块平面镜通常将光线转向探测器。
  • [4:58] 已知第一台可工作的反射望远镜由艾萨克·牛顿制造,而更近期的哈勃空间望远镜采用了类似的设计。

透镜与折射

用卡车类比解释折射

  • [5:09] 透镜是一种利用折射的光学器件。
  • [5:12] 一辆卡车斜着驶入泥泞的田地时会转向,因为一侧减速而另一侧继续高速前进,这类似于光折射进入玻璃等致密材料时发生弯曲的方式。
  • [5:33] 当光从玻璃过渡到空气时,会向相反方向折射。

塑造玻璃以改变光线方向

  • [5:37] 对于矩形玻璃块,光线进入和离开时方向相同,只是略微偏移。
  • [5:44] 将两个相对的面倾斜会改变出射光线的方向,改变程度与倾斜度成正比。
  • [5:51] 将玻璃形状弯曲成类似曲面镜的形状,会将红光和蓝光偏转到探测器的不同区域。

透镜的优势与设备布局

  • [6:02] 与镜子一样,透镜可以做得更大以接收更多光线,同时仍保持清晰的图像。
  • [6:07] 透镜的优势在于它能实现实用且紧凑的光学设备,例如人眼或手机摄像头。
  • [6:15] 在此类设备中,透镜位于前方用于聚焦光线,腔体阻挡杂散光,探测器位于后方。
  • [6:22] 这使得透镜成为最普遍、最重要的光学元件类型。

光学:聚焦光线与矫正视力

点光源与点扩散函数

  • [6:27] 光学教科书通常描述单个光点会发生什么,例如点扩散函数——点光源在探测器上产生的图案。
  • [6:39] 真实物体可以分解为许多独立的点光源,因此对单个点有效的光学元件也适用于构成宏观物体的任意数量的点。
  • [6:57] 聚焦光线意味着将来自点光源的发散光线阵列通过反射、折射或其他方式重定向到单个探测器像素;现在的讨论涵盖透镜,但这些论点同样适用于牛顿望远镜等光学器件。

焦距与失焦模糊

  • [7:18] 每个透镜都有一个基于其形状和其他属性的焦距;对于非常遥远、几乎无限远的光源,这是光线汇聚处到透镜后方的精确距离,探测器应放置在此处。
  • [7:39] 探测器放置得太近会在光线汇聚之前接收到光线,而放置得太远则会接收到已再次开始发散的光线——两者都处于失焦状态。
  • [7:50] 失焦时,每个光点会溢出到多个像素上,整个图像变得模糊,类似于图像编辑程序中的模糊工具。

物体靠近时的焦点偏移

  • [8:04] 点光源越靠近透镜,焦点在透镜后方移动得越远,遵循焦距、物距和焦点距离之间的精确数学关系。
  • [8:18] 如果探测器被精确设置在透镜后方一个焦距处用于拍摄远处物体,而现在需要拍摄更近的物体,这种焦点偏移就成了问题。

相机和眼睛如何调整焦点

  • [8:29] 相机通过移动镜头来解决这个问题——由摄影师手动移动,或由内部电路自动移动——一旦选定物体,就将镜头移到与探测器相距正确的距离。
  • [8:47] 由于人眼大小固定,肌肉会改变晶状体的形状,从而改变其焦距,使焦点向后或向前移动,同时让视网膜上的感光细胞保持在原位。
  • [9:05] 把一支铅笔拿得靠近脸部,你可以聚焦在铅笔上而背景模糊,或者反过来,因为大脑会自动用肌肉拉伸或压缩晶状体到正确的焦距。

近视、远视与矫正镜片

  • [9:22] 无论肌肉如何调节晶状体,近视者都无法将远处物体的焦点足够向后移到视网膜上,而远视者则无法将近处物体的焦点足够向前移。
  • [9:46] 眼镜或隐形眼镜可以矫正这些问题:对于远视,附加镜片使从近处物体发散过强的光线向内偏折,就好像它们来自远处物体一样;对于近视,镜片使光线发散,就好像物体更近一样。
  • [10:06] 其他光学仪器,如双筒望远镜,也通过镜片组合来偏折光线方向。

光学分辨率与光的反射

聚焦与像素尺寸的限制

  • [10:17] 没有光学器件是完美的,因此光线永远不会完全聚焦。
  • [10:21] 数码相机的像素很小而且越来越小,但一个无限微小的光点看起来始终至少有一个像素那么大。
  • [10:29] 这些效应合在一起意味着,两个靠得足够近的独立光点看起来会合并成一个点。

分辨率的定义与后果

  • [10:38] 光学仪器的分辨率衡量的是两个点可以靠得多近,直到它们无法再被区分。
  • [10:44] 将物体视为许多点光源的集合,分辨率决定了图像中特征的清晰程度,以及物体在融入背景之前可以有多小或多远。

镜面反射与漫反射

  • [10:58] 大多数物体本身不发光,而只是反射光,并且所有物质都在某种程度上反射光。
  • [11:06] 例如在平面镜中看到的灯泡的反射,在技术上称为镜面反射,因为抛光光滑的表面使光线保持整齐有序。
  • [11:19] 来自砖墙的反射称为漫反射,因为砖的粗糙表面会散射并打乱来自灯泡和房间内其他物体的光线。
  • [11:30] 与镜子不同,砖块会优先吸收某些颜色,从而让棕色等颜色得以反射。

后续主题与观众提问

  • [11:44] 关于光学或其他希望涵盖的主题的问题,可以留在评论区。
  • [11:48] 诸如菲涅尔波带片等衍射光学、非线性光学或光纤等高级主题未作涵盖,如果有足够兴趣,可以制作后续视频。

阅读带时间戳的可用字幕,或转录播客、讲座和本地音频/视频。免费YouTube转录提取器。

需要提取其他公开视频的 SRT、TXT 或 Markdown 字幕?前往 YouTube 字幕提取工具。

前 3 段双语对照预览 · 免消耗额度

以下展示前 3 段已保存中文译文与英文原版字幕的逐段对照(零额度消耗):

[0:00]

[音乐] 在本视频中,我将简要概述光学的工作原理,并回答诸如:为什么你的手机摄像头需要镜头才能成像?为什么有些人需要戴眼镜?我们周围的世界充满了来自各种颜色的光。当一束某种颜色的光沿直线传播并击中光电探测器时,它的位置和颜色会被记录下来。

[Music] In this video, I will give a basic overview of how optics work and answer questions such as: Why does your phone camera need a lens to take an image? Why do some people need glasses? The world around us is filled with light from a spectrum of colors. When a ray of light of a certain color traveling in a straight line hits a photodetector, its position and color are registered.

[0:31]

我所说的探测器可以是眼睛里的细胞或相纸,但现在我将讨论你手机或网络摄像头中的那种探测器。正如你现在看着的屏幕由一个个发光的像素组成,数码相机中的探测器也由能够感光的像素网格组成。爱丽丝外出时带上一台探测器,然后看到一个奇怪的红绿灯,顶部是红色灯泡,下方是蓝色灯泡。

What I'm calling a detector could be cells in your eye or photographic paper, but for now I will talk about the kind of detector you have in your cell phone or webcam. Just as the screen you're looking at now is made up of individual pixels emitting light, the detector in a digital camera is made up of a grid of pixels which can sense light. Alice takes a detector when she goes out and then sees a strange sort of traffic light with a red light bulb at the top and a blue bulb below it.

[1:01]

爱丽丝举起探测器拍摄这些灯。如果顶部像素是红色,然后有一段间隙,底部像素是蓝色,那么图像将是对现实世界的准确呈现。然而在现实中,光会在红色和蓝色灯泡前方扩散,并同时照亮所有像素。每个像素都同样呈现红色和蓝色,因此图像看起来全是紫色。这就是为什么我们需要光学元件来聚焦光线。关于“对焦”的含义,我将在视频后面详细说明,但现在可以这样理解:红色和蓝色光分别落到探测器上的不同点,使图像中两个灯泡分开,而不是被紫色完全冲淡。

Alice holds the detector up to take an image of the lights. The image will be an accurate representation of the real world if the top pixels are red, then there's a gap and then the bottom pixels are blue. In reality though, light spreads out in front of both the red and blue bulbs and illuminates all of the pixels at once. Every pixel is equally red and blue so the image appears to be all purple. This is why we need an optic to focus light. I will go into more detail on what it means to be in focus later on in the video, but for now think of it as when the red and blue light go to separate points on the detector so that an image has the two bulbs separated, rather than just be completely washed out with purple.

[0:00] [音乐] 在本视频中,我将简要概述光学的工作原理,并回答诸如:为什么你的手机摄像头需要镜头才能成像?为什么有些人需要戴眼镜?我们周围的世界充满了来自各种颜色的光。当一束某种颜色的光沿直线传播并击中光电探测器时,它的位置和颜色会被记录下来。

[0:31] 我所说的探测器可以是眼睛里的细胞或相纸,但现在我将讨论你手机或网络摄像头中的那种探测器。正如你现在看着的屏幕由一个个发光的像素组成,数码相机中的探测器也由能够感光的像素网格组成。爱丽丝外出时带上一台探测器,然后看到一个奇怪的红绿灯,顶部是红色灯泡,下方是蓝色灯泡。

[1:01] 爱丽丝举起探测器拍摄这些灯。如果顶部像素是红色,然后有一段间隙,底部像素是蓝色,那么图像将是对现实世界的准确呈现。然而在现实中,光会在红色和蓝色灯泡前方扩散,并同时照亮所有像素。每个像素都同样呈现红色和蓝色,因此图像看起来全是紫色。这就是为什么我们需要光学元件来聚焦光线。关于“对焦”的含义,我将在视频后面详细说明,但现在可以这样理解:红色和蓝色光分别落到探测器上的不同点,使图像中两个灯泡分开,而不是被紫色完全冲淡。

[1:43] 这个问题最简单的解决办法是在爱丽丝的探测器周围加一个盒子来遮挡杂散光,并在探测器前方只开一个通常称为针孔的小孔。针孔挡住了除一束红光和一束蓝光之外的所有光线,使它们落在探测器的不同部位。灯泡在图像中被分开了,这正是我们想要的。图像变成了倒像,因为来自底部蓝色灯泡的光到了顶部,反之亦然,但这没关系。实际上大多数光学元件都会出现这种情况。

[2:14] 我们总可以用计算机把它反转回来,或者调整探测器来补偿这种反转。你的大脑已经自然适应了补偿眼睛中的这种效应。这种带小孔的暗箱是最早用于实际记录图像的光学工具之一。现代单词 camera 来自拉丁语短语 camera obscura,即暗室。这里是一幅 18 世纪带小孔的暗箱插图。

[2:45] 针孔相机说明了每个光学器件必须具备的两个主要特性:如果孔太大,每个灯泡射入的光线就太多,最终就像回到起点,根本没有光学器件一样。如果我们把孔越做越小,进入的光量就会减少,图像会变暗,直到完全消失。因此,针孔相机的问题在于,它是在让多少光到达探测器以实际形成图像——通常称为光学器件的孔径大小——与光线方向受到限制的程度——这就是光学器件的分辨率,我稍后会提到——之间做权衡。理想情况下,我们希望两者都充足。

[3:27] 其他光学器件由镜子组成,它们把光源反射到探测器上。用你浴室里可能有的平面镜,光的反射方式就像壁球游戏中球从墙上弹回一样。光线如何反射取决于它的方向,入射角等于反射角,二者都是相对于一条从镜面指向外的线来测量的,这条线称为法线。单靠平面镜无法帮助我们避免之前看到的两个灯泡把整个探测器变成紫色的问题。相反,镜子必须弯曲成球面的一部分,或弯曲成一种称为抛物面的特殊形状。

[4:02] 这种形状的镜子意味着,当来自两个灯泡的光线以不同角度射入时,它们会被反射到探测器的不同部分。事实上,所有蓝色光线都去往一部分,所有红色光线都去往另一部分。就像针孔一样,图像是倒立的,但来自两个灯泡的光按需要去往探测器的不同部分。这种设置解决了针孔的主要问题,因为原则上你可以把镜子做得任意大,从而收集大量光线,同时仍能形成清晰的图像。

[4:34] 然而,这类光学器件的主要缺点在于它笨重且非常长,部分原因是光线被反射回自身。因此,这种装置主要用于望远镜。望远镜筒形成暗室以阻挡杂散光,通常还会添加第二块平面镜,仅仅是为了将光线转向探测器。已知第一台可工作的反射望远镜由艾萨克·牛顿制造,而更近期的哈勃空间望远镜使用了类似但稍复杂一些的布置。

[5:06] 这让我想到透镜:一种利用折射的光学器件。想象你有一辆卡车在硬质道路上行驶,突然它以一定角度撞上泥泞田地的边缘。有那么一瞬间,只有一个轮胎在泥里,所以卡车的一侧减速而另一侧继续高速前进。卡车转向了。类似地,光进入玻璃这样的致密材料时会弯曲或折射,而从玻璃过渡到空气时会向相反方向折射。

[5:37] 对于矩形玻璃块,光进入和离开时方向相同,只是略微偏移。让两个相对的面倾斜会按倾斜程度改变出射光线的方向。通过以类似前面曲面镜的方式弯曲玻璃的形状,红光和蓝光的光线同样会被转向探测器的不同部位。就像镜子一样,透镜可以做得更大以接纳更多光,同时仍保持清晰的图像。透镜的优势在于它能实现实用且紧凑的光学设备,例如人眼或手机摄像头。

[6:15] 透镜位于前方以聚焦光线,有一个腔室阻挡任何杂散光,探测器位于后方。这使得透镜成为最普遍且最重要的光学器件类型。通常,高级光学教科书或课程会讨论单个光点会发生什么。他们会讨论诸如光学器件的点扩散函数——点光源在探测器上产生的光图案。这是因为我们总是可以把物体——现实世界中作为光源的事物——分解成大量独立的点光源。

[6:48] 只要光学器件对这样一个点有效,它对构成整个宏观物体的任意数量的其他点也同样有效。因此,光学器件聚焦光线,就是接收从点光源向各个方向发散的多组光线阵列,并通过反射、折射或我尚未提及的其他方式,将它们重定向到我们探测器上的单个像素。从现在起我只讨论透镜,但同样的论证也适用于我前面提到的牛顿望远镜等其他光学器件。

[7:18] 根据形状和其他特性,每个透镜都有一个所谓的焦距。当你观察的点光源非常遥远——实际上是几乎无限远——时,这就是透镜后方光线汇聚、光线被聚焦的精确距离。因此,这也是在透镜后方放置探测器的精确距离。如果你把探测器放得太近,光线尚未汇聚到单个点。如果你把探测器放得离透镜太远,光线又开始再次发散。

[7:50] 这两种情况都展示了什么叫失焦。每个光点现在都溢出到多个像素上,整个图像变得模糊,你可以用许多图像编辑程序中的模糊工具来模拟这一点。[音乐] 点光源离透镜越近,焦点在透镜后方移动得越远。焦距、物体到透镜的距离以及到最终焦点的距离之间存在精确的数学关系。如果你刚刚把探测器恰好放在透镜后方一个焦距处,以便对远处物体成像,而现在又想对更近的物体成像,那么这种焦点的偏移就成了问题。

[8:29] 相机和眼睛通过两种特定方式克服这个问题。用相机拍照时,一旦选定了要对焦的物体,摄影师或相机的内部电路就会自动移动镜头,以选取它与探测器之间的正确距离。人眼的大小是固定的,因此肌肉会改变晶状体的形状,从而改变其焦距,按需将焦点向后或向前移动。这样一来,位于称为视网膜的一层中的感光细胞——也就是你眼睛里的探测器——就可以留在原处。

[9:05] 试着把一支铅笔拿得靠近你的脸。你可以选择聚焦在铅笔上,这样背景就会变得模糊,或者反过来。无论哪种方式,你的大脑都会自动用肌肉来拉伸或压缩眼睛里的晶状体,以达到正确的焦距,聚焦于你想看的东西。正如我刚才解释的,如果物体很远,光线就会聚焦在靠近晶状体的位置。对某些人来说,无论他们的肌肉如何努力调整晶状体,他们都无法把远处物体的焦点向后移到足够远、落到视网膜上,他们就是近视眼。

[9:38] 反过来,当物体很近时,有些人始终无法把焦点向前移到足够远,他们就是远视眼。眼镜或隐形眼镜可以矫正这些问题。在远视的例子中,问题在于光线从附近物体发散得太强烈,但额外的一片透镜可以使光线向内弯曲,就好像它们来自远处的物体一样。对于近视的人来说,透镜使光线发散,就好像物体离得更近一样。其他光学仪器,比如双筒望远镜,也通过组合透镜来改变光线的方向,使物体看起来更近,因而被放得更大。

[10:17] 没有哪种光学器件是完美的,因此光线永远不会被完全聚焦。数码相机中的像素很小,而且还在变得更小,但一个无限微小的光点看起来至少也会有一个像素那么大。这两种效应加在一起意味着,两个分开的光点如果靠得足够近,就会看起来合并成一个点。光学仪器的分辨率衡量的是它们能靠得多近而仍能被区分开。把物体看作许多点光源的集合,分辨率决定了图像中细节有多清晰,或者一个物体要小到什么程度、远到什么程度才会融入背景。

[10:58] 需要记住的一点是,大多数物体本身并不发光,而只是反射光。所有物质都会在一定程度上反射光。你可能认为的反射——比如在平面镜中看到灯泡的倒影——在专业上称为镜面反射。镜子被抛光成光滑的表面,所以光线能整齐地保持其顺序。而从砖墙上的反射称为漫反射,因为砖的粗糙表面会散射并打乱来自灯泡以及房间里其他物体的光线。此外,与镜子不同,砖会优先吸收某些颜色,使棕色之类的颜色得以反射出来。

[11:37] 感谢收听。如果你对计算机如何工作、如何存储信息和显示图像感兴趣,屏幕上现在应该有一个链接。如果你对光学或希望我涵盖的任何其他主题有任何问题?请留下评论。我没有涉及高级主题,例如菲涅尔波带片等衍射光学、非线性光学或光纤。如果有足够的兴趣,我可以制作后续视频。[音乐]

查看英文原始字幕

[0:00] [Music] In this video, I will give a basic overview of how optics work and answer questions such as: Why does your phone camera need a lens to take an image? Why do some people need glasses? The world around us is filled with light from a spectrum of colors. When a ray of light of a certain color traveling in a straight line hits a photodetector, its position and color are registered.

[0:31] What I'm calling a detector could be cells in your eye or photographic paper, but for now I will talk about the kind of detector you have in your cell phone or webcam. Just as the screen you're looking at now is made up of individual pixels emitting light, the detector in a digital camera is made up of a grid of pixels which can sense light. Alice takes a detector when she goes out and then sees a strange sort of traffic light with a red light bulb at the top and a blue bulb below it.

[1:01] Alice holds the detector up to take an image of the lights. The image will be an accurate representation of the real world if the top pixels are red, then there's a gap and then the bottom pixels are blue. In reality though, light spreads out in front of both the red and blue bulbs and illuminates all of the pixels at once. Every pixel is equally red and blue so the image appears to be all purple. This is why we need an optic to focus light. I will go into more detail on what it means to be in focus later on in the video, but for now think of it as when the red and blue light go to separate points on the detector so that an image has the two bulbs separated, rather than just be completely washed out with purple.

[1:43] The simplest solution to this problem is to put a box around Alice's detector to block out stray light and put just a tiny hole often called a pinhole in front of the detector. The pinhole blocks out all but one of the red and one of the blue rays of light so that they fall on different parts of the detector. The bulbs are separated in the image which is exactly what we wanted. The image has become inverted because light from the bottom blue bulb has gone to the top and vice versa, but that's OK. This actually happens with most optics.

[2:14] We can always use the computer to invert it back or wire up the detector to take account of this inversion. Your brain has naturally adapted to compensate for this effect in your eye. This type of darkened box with a pinhole is one of the first optical tools to be used to actually record images. The modern word camera comes from the Latin phrase camera obscura or dark chamber. Here is an 18th century illustration of a camera obscura with a pinhole.

[2:45] The pinhole camera illustrates the two main properties every optic must have: If the pinhole is large, too many rays get in from each of the bulbs and eventually it is as if we are back at the start with no optic at all. If we make the pinhole smaller and smaller, the amount of light getting in decreases and the image will become darker until it fades completely. The problem with a pinhole camera, therefore, is that it is a trade-off between how much light gets the detector to actually create the image - often referred to as the size of an optic's aperture - and the degree to which the direction of the rays is restricted - this is the resolution of the optic, which I will mention later. Ideally we would want plenty of both.

[3:27] Other optics consist of mirrors which reflect the sources of light onto the detector. With a plane mirror as you might have in your bathroom, light reflects the same way as a ball bouncing off a wall in the game of squash. How a ray of light is reflected depends on its direction, with the angle of incidence equal to the angle of reflection relative to a line pointing out of the mirror called the normal. On its own, a plane mirror won't help us avoid the problem of the two bulbs turning the whole detector purple we saw earlier. Instead, the mirror must be curved either into a part of a sphere or into a special shape called a parabola.

[4:02] What this shape of mirror means is that when rays from the two bulbs come in, and they do so at different angles, they are reflected to different parts of the detector. In fact all the blue rays go to one part and all the red ones to another. Just as with the pinhole the image is inverted, but light from the two bulbs goes to separate parts of the detector as required. This setup solves the main problem of the pinhole because you can make the mirror as large as you like in principle and therefore collect plenty of light while still forming a clear image.

[4:34] However, the main disadvantage of this type of optic is that it's cumbersome and very long due in part to the light being reflected back on itself. For this reason, this setup is mainly used for telescopes. The telescope tube forms the dark chamber to block out stray light and usually a second plane mirror is added just to divert away the light to the detector. The first known working mirror telescope was made by Isaac Newton, and more recently the Hubble Space Telescope used a similar, but slightly more complicated arrangement.

[5:06] This brings me on to lenses: a type of optic which uses refraction. Imagine that you have a truck running on a hard road and suddenly it hits the edge of a muddy field at an angle. For a moment only one of its tyres is on the mud so one side of the truck slows down while the other continues at speed. The truck turns. In a similar way, light bends or refracts into a dense material like glass and refracts in the opposite direction when it transitions from glass to air.

[5:37] With a rectangular glass block the light enters and leaves going in the same direction, just shifted slightly. Having the two opposite sides inclined alters the direction of the emerging ray in proportion to the slanting. By curving the shape of the glass in a similar manner to the curved mirror from before, rays of red and blue light will likewise be diverted to different parts of the detector. Just like with the mirror a lens can be made larger to admit more light while still maintaining a crisp image. The advantage of the lens is that it allows a practical and compact optical device such as the human eye or a cell phone camera.

[6:15] The lens is at the front to focus light, there is a chamber to block any stray light and the detector is at the back. This makes the lens into the most ubiquitous and important type of optic. Usually a high level optics textbook or a class would talk about what happens to a single point of light. They talk about things like the point spread function of an optic - the pattern of light that a point source produces on a detector. This is because we can always take objects - things in the real world which are sources of light - and break them up into a large amount of individual point sources.

[6:48] As long as the optic works on just one such point, it will also work for any number of others which make up a whole macroscopic object. For an optic to focus light then is to take in a number of the arrays that diverge from a point source in all directions and to redirect them using reflection refraction or other ways I haven't mentioned to a single pixel on our detector. I will talk only about lenses from now on, but the same arguments apply to other optics like the Newtonian telescope I mentioned earlier.

[7:18] Based upon their shape and other properties every lens has a so-called focal length. When the point source you're observing is very far away - almost infinitely far away in fact - then this is the precise distance behind the lens that the rays converge and the light is focused. This is therefore the precise distance at which to place the detector behind the lens. If you put the detector too close then the rays of light haven't yet converged on a single point. If you put the detector too far from the lens the rays have begun to diverge again.

[7:50] Both cases show what it means to be out of focus. Each point of light now spills over multiple pixels and the whole image becomes blurry, as you can simulate with the blur tool in many image editing programs. [Music] The closer the point source comes to the lens, the further the focus moves behind the lens. There is a precise mathematical relationship between the focal length, the distance from the object to the lens and the distance to the resulting focus. This shifting of the focus is a problem if you have just set up your detector exactly one focal length behind the lens to image things in the far distance and now want to image a closer object.

[8:29] Cameras and eyes overcome this issue in two particular ways. When taking a photograph with a camera, once the object to be focused on has been selected the lens will be moved by the photographer or automatically by the internal circuitry of the camera to pick the right distance between it and the detector. The size of the human eye is fixed, so instead muscles change the shape of the lens and therefore its focal length to shift the focus backwards or forwards as required. In this way, the light sensitive cells in a layer called the retina which is the detector in your eye can stay where they are.

[9:05] Try to hold a pencil close to your face. You can either choose to focus on the pencil in which case the background goes blurry or vice versa. Either way your brain is automatically using muscles to stretch or compress the lens in your eye to achieve the correct focal length to focus on what you want. As I've just explained, if an object is far away then light is focused close to the lens. For some people no matter how much their muscles try to adjust the lens they can never shift the focus of a distant object backwards far enough onto the retina and they are near-sighted.

[9:38] Conversely, when objects are close some people can never quite manage to shift the focal point far enough forward and they are far sighted. Glasses or contact lenses can correct for these problems. In the far sighted example the problem was that rays of light were diverging too strongly from a nearby object, but an additional lens can bend the rays inwards as if they were coming from a distant object. For near-sighted people the lens makes rays diverge as if the object work closer. Other optical instruments like binoculars also bend the direction of rays using a combination of lenses to make objects appear as if they are closer and therefore more magnified.

[10:17] No optic is perfect and therefore rays of light are never totally focused. Pixels in digital cameras are small and getting smaller, but an infinitessimally tiny point of light will always appear to have at least the size of a pixel. Both of these effects together mean that two separate points of light, if they are close enough, together will appear to merge into a single point. The resolution of an optical instrument is a measure of how close together they can get before they can no longer be distinguished. Thinking of objects as collections of many point sources, the resolution determines how sharp features in the image will be or how small or far away an object can be before it blends into the background.

[10:58] One thing to keep in mind is that most objects do not give off light themselves, but merely reflect it. All matter reflects light to some extent. What you might think of as reflection - seeing a light bulb reflected in a plane mirror for instance - is technically called specular reflection. The mirror is polished to a smooth surface so the rays neatly preserve their order. Whereas, reflection from a brick wall is called diffuse reflection because the roughness of brick scatters and jumbles up rays from the bulb and from other objects in the room. Also, unlike the mirror, the brick preferentially absorbs some colours allowing ones like brown to be reflected.

[11:37] Thank you for listening. If you are interested in how a computer works, stores information and displays images, there should be a link on the screen now. If you have any questions about optics or any other topics for me to cover please leave a comment. I did not cover advanced topics such as diffractive optics like Fresnel zone plates, non-linear optics or optical fibers. I can make follow-up videos if there is enough interest. [Music]

在 Vidleaf 工作台中打开

搜索转录文本、选择行、复制带时间戳的引文、翻译。

署名

《光学如何工作——相机、镜头和望远镜的基础知识》,作者 Improbable Matter(https://www.youtube.com/@improbablematter),依据 CC BY 4.0(https://creativecommons.org/licenses/by/4.0/)许可。源视频:https://www.youtube.com/watch?v=O772SsMqjhY。本页是该视频的文本转录,添加了段落分隔和时间戳;创作者与 Vidleaf 无关联,也不为其背书。Vidleaf 添加了 AI 标点和 AI 生成的摘要;原始措辞仍可在本页查看。

您是创作者或权利持有人吗?请求更正或移除:copyright@vidleaf.app(参见关于这些页面)。

最后更新于