逐字稿 · 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] Alice 帶著感測器去拍攝一盞奇特的紅綠燈,上方是紅燈泡,下方是藍燈泡。
  • [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] 本影片未涵蓋進階主題,例如菲涅耳波帶片等繞射光學、非線性光學或光纖;若有足夠興趣,可再製作後續影片。

免裝外掛讀取附時間戳記的現有字幕,匯出 TXT、SRT 或 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 背書。Vidleaf 加入了 AI 標點與 AI 生成的摘要;原始措辭仍可於本頁取得。

你是創作者或權利持有人嗎?請求更正或移除:copyright@vidleaf.app(參見 關於這些頁面)。

最後更新