← 回萬物原理 · All Lessons

How Things Work · Unit 3 · Lesson 12 · 萬物原理 單元三 第十二課

How Does a Camera Take a Picture?相機怎麼拍下照片?

A lens makes an upside-down picture, and millions of tiny pixels turn it into numbers. Cut open a 3D camera, focus it, open and close the aperture, see the red, green, and blue filters, and watch the photo turn blocky with too few pixels.
鏡頭做出一個上下顛倒的影像,幾百萬個小小的像素再把它變成數字。剖開 3D 相機,自己對焦、調光圈,看看紅綠藍濾色片,再看像素太少時照片怎麼變成一格一格。

Big idea · 一句話看懂

A camera's lens bends light so that the light from each point of a scene comes together at one point on the sensor, making a small upside-down picture. The sensor is a grid of millions of tiny pixels, each under a red, green, or blue filter, and each one turns the light it catches into a number. A photo is a giant grid of those numbers.
相機的鏡頭把光彎折,讓景物上每一點射來的光聚到感光元件上的一點,排成一個上下顛倒的小影像。感光元件是幾百萬個小小的像素排成的格子,每一格上蓋著紅、綠或藍的濾色片,把接到的光變成一個數字。一張照片,就是這些數字排成的大表格。

3D Model · 3D 模型

Inside a Camera 相機裡面

Drag to turn the model, and scroll or pinch to zoom. Follow the red and green light rays from the scene through the lens to the sensor. Slide the focus until the rays meet on the sensor, open and close the aperture, and change the number of pixels in the photo. Turn on the color filters to see what each pixel really measures, or take the lens away and use a tiny hole instead.
拖曳可以旋轉模型,滾輪或雙指可以縮放。跟著紅色和綠色的光線,從景物穿過鏡頭走到感光元件。拉動對焦,讓光線剛好在感光元件上交會;把光圈開大、關小;改變照片的像素數。打開「濾色片」看每一格真正量到什麼,或拿掉鏡頭、改用一個小孔。

A diagram: the camera is cut open, and the pixels are drawn huge · 示意圖:相機剖開,像素畫得很大

Drag to turn · 拖曳旋轉 Scroll or pinch to zoom · 滾輪/雙指縮放

This 3D model needs WebGL, which this browser does not support. The reading and the cards below still explain everything.
這個瀏覽器不支援 WebGL,無法顯示 3D 模型;下方的課文與卡片一樣能看懂。

  • Red lines: light from the red roof
    紅線:紅色屋頂射來的光
  • Green lines: light from the green grass
    綠線:綠色草地射來的光
  • Dark ring: the aperture, the opening that lets light in
    深色圓環:光圈,讓光進來的開口
  • Red, green, and blue squares: the color filters on the pixels (twice as many green)
    紅綠藍小格:像素上的濾色片(綠色是兩倍)

A diagram: the camera is cut open and much bigger than a phone camera, and the pixels are drawn huge. In the model the sensor moves to focus; in real cameras the lens usually moves instead, which has the same effect. The photo is calculated from the drawing: flipped, blurred by how far out of focus it is, brightened or darkened by the aperture, then split into pixels.
這是示意圖:相機剖開、比手機相機大很多,像素也畫得很大。模型裡是移動感光元件來對焦,真正的相機通常是移動鏡頭,效果一樣。右側照片是從畫中的景物算出來的:先顛倒,再依失焦程度模糊,依光圈調亮暗,最後切成一格一格的像素。

Model drawn by My Culture Connect as a teaching diagram. Camera history from Wikipedia (Camera obscura, Bayer filter); for the eye, see Human Body, Lesson 8. · 模型由人師教育協會自繪示意;相機的歷史依維基百科;眼睛的部分請看人體探索第八課。

Reading · 英文閱讀

12

Unit 12: How Does a Camera Take a Picture?

Open the camera on a phone, tap the button, and the scene in front of you is saved in a split second: the color of the sky, a friend's smile, the steam rising from a bowl of noodles. Look at a phone's specs, and you may see a number like 48 MP, which means 48 megapixels. What is a pixel, and how does a camera turn light into a picture you can keep?

打開手機相機,按一下,眼前的景象一瞬間就被存下來:天空的顏色、朋友的笑臉、一碗麵冒出的熱氣。看看手機的規格,可能會看到「48 MP」,意思是 4,800 萬畫素。像素到底是什麼?相機又怎麼把光變成一張留得住的照片?

People noticed long ago that light can make pictures by itself. One of the earliest written records is in the Chinese book Mozi, from the 4th century BC, which describes how light passing through a small hole makes an upside-down image. In 1088, the Song dynasty scientist Shen Kuo explained the flip by comparing it to an oar turning around a fixed point. In 1827, Nicéphore Niépce in France made the oldest photograph that still survives, and it probably needed many hours of sunlight.

人們很早就發現,光自己就能做出影像。最早的文字紀錄之一在中國的《墨子》,成書於公元前四世紀,說明光穿過一個小孔,會形成上下顛倒的影像。1088 年,宋朝的沈括把這種顛倒比喻成船槳繞著一個固定點轉動。1827 年,法國的尼埃普斯拍出現存最古老的照片,大概要曬好幾個小時的太陽。

A camera works a lot like your eye. Light bounces off everything in front of it. The lens bends that light so that the rays from each point of the scene come together at one point on the sensor at the back of the camera. Because the rays cross on the way, the picture on the sensor is upside down and flipped left to right. To focus, the camera moves the lens a tiny bit forward or backward until the picture is sharp.

相機的運作很像你的眼睛。光從眼前的每樣東西反彈出來;鏡頭把這些光彎折,讓景物上每一點射來的光,聚到相機後方感光元件上的一點。因為光線在途中交叉,感光元件上的影像上下顛倒、左右相反。對焦時,相機把鏡頭往前或往後移動一點點,直到影像清楚。

The opening that lets light in is called the aperture. A wider opening lets in more light, so the photo is brighter, but things that are out of focus look blurrier. In the dark, a camera keeps its shutter open longer to collect enough light. Even with no lens at all, a tiny hole can make a picture, because light travels in straight lines. The smaller the hole, the sharper the picture, but the darker it gets.

讓光進來的開口叫做「光圈」。光圈開得越大,進來的光越多,照片越亮,但沒有對準焦的東西也會更糊。在暗的地方,相機會讓快門開久一點,收集足夠的光。就算完全沒有鏡頭,一個小孔也能做出影像,因為光走直線。孔越小,影像越清楚,但也越暗。

The sensor is a grid of millions of tiny light-sensitive squares called pixels. Each pixel measures how much light lands on it and turns that into a number. A pixel cannot tell colors apart by itself, so each one sits under a tiny red, green, or blue filter. Most camera sensors use a pattern invented by Bryce Bayer in 1976, with twice as many green filters as red or blue ones, because our eyes are most sensitive to green. The camera then works out the full color of every pixel from its neighbors.

感光元件是幾百萬個小小的感光方格排成的格子,每一格叫做一個「像素」。每個像素量出落在它上面的光有多少,變成一個數字。像素本身分不出顏色,所以每一格上面都蓋著紅、綠或藍的小濾色片。大多數相機的感光元件,用的是拜耳在 1976 年發明的排法:綠色濾色片是紅色或藍色的兩倍,因為人眼對綠色最敏感。相機再從旁邊的格子,算出每一格完整的顏色。

In 1975, Steven Sasson at Kodak built the first self-contained digital camera. It had only 100 by 100 pixels, 10,000 in all, and took 23 seconds to save each black-and-white picture onto a cassette tape. Today the main camera of an iPhone 16 has 48 megapixels, or 48 million. Every pixel's color is stored as numbers, the same 0s and 1s you met in Lesson 8. A photo is a giant grid of numbers that remembers how bright the light was, and what color, at every spot.

1975 年,柯達公司的沙森做出第一台獨立的數位相機:只有 100 × 100 個像素,總共一萬個,每拍一張黑白照片要花 23 秒才存進錄音帶。今天 iPhone 16 的主相機有 4,800 萬畫素。每個像素的顏色都存成數字,也就是第八課的 0 和 1。一張照片,就是一張巨大的數字表,記住了每一個點的光有多亮、是什麼顏色。
Read aloud · 課文朗讀

Questions · 閱讀理解

Why is the picture on a camera's sensor upside down?

The lens makes the light rays from each point of the scene cross on their way to the sensor, so the top of the scene lands at the bottom of the picture.

What happens when you make the aperture wider?

More light gets in, so the photo is brighter, but things that are out of focus look blurrier.

How does a camera record color if each pixel cannot tell colors apart?

Each pixel sits under a red, green, or blue filter, so it measures one color, and the camera works out the full color of every pixel from its neighbors.

Words & Phrases · 生字及片語

lens(n.)鏡頭;透鏡Clean the lens before you take a photo.拍照前先把鏡頭擦乾淨。focus(v.)對焦;集中Tap the screen to focus on the flower.點一下螢幕,對焦在花上。sensor(n.)感測器;感光元件The door opens when the sensor sees you.感測器偵測到你,門就會打開。filter(n.)濾鏡;濾色片She put a blue filter over the flashlight.她在手電筒前面加了一片藍色濾片。shutter(n.)快門You can hear the shutter click when you take a picture.拍照時你會聽到快門「喀嚓」一聲。grid(n.)格子;網格We drew the map on a grid of squares.我們把地圖畫在方格紙上。blurry(adj.)模糊的The photo is blurry because my hand moved.因為手晃了一下,照片糊掉了。upside down(adv.)上下顛倒地He held the map upside down and got lost.他把地圖拿反了,結果迷路了。

Quick Check · 小測驗

1. What does a camera's lens do?

2. What does the picture on the sensor look like?

3. What is a pixel?

4. Why are there more green filters than red or blue ones?

5. What happens when you make the aperture smaller?

Try It in the Model · 在模型裡試試

Four photos to take 拍四張照片

Your eye has a lens, an opening, and a sensor of its own. Compare this model with Human Body, Lesson 8, “How Do Your Eyes See?”
眼睛也有自己的鏡頭、光圈和感光層。可以和人體探索第八課〈眼睛怎麼看見東西?〉比一比。

In focus對準焦

The rays meet on the sensor · 光線在感光元件上交會

Each point of the scene lands on one point of the sensor, so the photo is sharp.
景物上的每一點,都落在感光元件上的一點,照片就清楚。

Out of focus失焦

Each point becomes a circle · 每一點變成一個小圓

The rays meet before they reach the sensor, then spread out again, so the photo is blurry.
光線還沒到感光元件就交會了,又散開來,照片就糊了。

Only 12 × 9 pixels只有 12 × 9 個像素

With the color filters showing · 顯示濾色片

The photo turns into big blocks, and the sensor shows its red, green, and blue filters.
照片變成大方塊,感光元件上露出紅、綠、藍濾色片。

No lens, just a hole沒有鏡頭,只有小孔

Sharp but dim · 清楚但很暗

Light travels in straight lines, so a tiny hole makes an upside-down picture too.
光走直線,所以一個小孔也能做出顛倒的影像。

Cameras by the Numbers · 相機的數字

From a pinhole to 48 million pixels 從一個小孔到 4,800 萬個像素

Cameras changed enormously, but the idea of light making an upside-down picture is about 2,400 years old.
相機變了很多很多,但「光自己做出顛倒影像」的想法,已經有大約 2,400 年了。

4th century BCpinhole image in the Mozi · 《墨子》記載小孔成像

One of the earliest written records of an upside-down pinhole image.最早記載小孔顛倒成像的文字之一。

1827oldest surviving photograph · 現存最古老的照片

Made by Nicéphore Niépce in France; it probably took many hours of sunlight.法國的尼埃普斯拍攝,大概曬了好幾個小時。

10,000pixels in 1975 · 個像素(1975 年)

Steven Sasson's digital camera had 100 × 100 pixels and needed 23 seconds per photo.沙森的數位相機只有 100 × 100 個像素,每張照片要 23 秒。

2×as many green filters · 綠色濾色片的倍數

Bayer's 1976 pattern: half green, a quarter red, a quarter blue.拜耳 1976 年的排法:一半綠、四分之一紅、四分之一藍。

48 millionpixels in an iPhone 16 · 個像素(iPhone 16 主相機)

The main camera of an iPhone 16 is rated at 48 megapixels.iPhone 16 主相機標示為 4,800 萬畫素。

4×the light · 倍的光

Make the opening twice as wide, and its area, and the light it lets in, becomes four times as big.光圈直徑加倍,開口面積和進來的光都變成四倍。

Myth vs. Fact · 常見迷思

Four things people get wrong 四個常見的誤會

✗ Myth · 迷思The picture inside a camera is right side up.相機裡面的影像是正的。

✓ Fact · 事實The rays cross as they pass through the lens, so the picture on the sensor is upside down. The camera flips it back before you see it.光線穿過鏡頭時交叉,所以感光元件上的影像是顛倒的,相機在你看到之前就幫你轉正了。

✗ Myth · 迷思Each pixel sees every color.每個像素都看得到所有顏色。

✓ Fact · 事實Each pixel sits under one red, green, or blue filter and measures only that color. The camera fills in the rest from nearby pixels.每個像素只蓋著一片紅、綠或藍的濾色片,只量那一種顏色;其餘的顏色由相機從旁邊的像素算出來。

✗ Myth · 迷思More megapixels always means a better photo.畫素越多,照片一定越好。

✓ Fact · 事實More pixels can record more detail, but focus, light, and the quality of the lens matter just as much.像素多能記下更多細節,但對焦、光線和鏡頭的品質一樣重要。

✗ Myth · 迷思You need a lens to make a picture.一定要有鏡頭才能成像。

✓ Fact · 事實A tiny hole works too, because light travels in straight lines. It just makes a dimmer picture.一個小孔也可以,因為光走直線,只是影像比較暗。

Remember It · 記憶口訣

Cameras in a sentence 一句話記住相機

Bend, cross, flip轉彎、交叉、顛倒

The lens bends the light, the rays cross, and the picture comes out upside down.
鏡頭彎折光線,光線交叉,影像就顛倒了。

Wide opening, more light光圈大,光就多

Twice as wide lets in four times the light.
直徑加倍,光變四倍。

One pixel, one color一格一色

Each pixel measures red, green, or blue, never all three.
每一格只量紅、綠、藍其中一種。

A photo is numbers照片就是數字

Brightness and color at every spot, stored as 0s and 1s.
每一點的亮度和顏色,都存成 0 和 1。

Safety First · 安全提醒

Before you try anything 動手之前先讀

  • Never point a camera, phone, or pair of binoculars at the Sun, and never look at the Sun through a viewfinder. It can hurt your eyes and damage the sensor.絕不用相機、手機或望遠鏡對著太陽,也不要從觀景窗看太陽,會傷眼睛,也會弄壞感光元件。
  • Ask before you take a photo of someone, and never share a photo of someone without their permission.拍別人之前先問,沒經過同意不要分享別人的照片。
  • Don't post photos that show your home address, your school's name, or where you are right now.不要上傳看得出你家地址、學校名稱或你現在在哪裡的照片。
  • Watch where you are going. Never step into the road to take a photo.拍照時注意腳下,絕不為了拍照走到馬路上。
  • In the activity, let an adult cut the box and poke the hole.做活動時,割紙盒、戳小孔請大人幫忙。

Classroom Activity 1 · 課堂活動一

Make a Pinhole Viewer 做一個針孔成像箱

You need · 準備材料

  • A long box or a chip can with a lid一個長紙盒,或一個有蓋的洋芋片罐
  • Aluminum foil, a pin, and tape鋁箔紙、一根大頭針、膠帶
  • Tracing paper or baking paper for a screen描圖紙或烘焙紙(當螢幕)
  • A dark cloth or a towel一塊深色的布或毛巾

Steps · 步驟

  1. With an adult, cut a small square window in one end of the box and cover it with foil. Poke one tiny hole in the middle of the foil with the pin.請大人幫忙,在盒子一端割一個小方窗,貼上鋁箔紙,用大頭針在中間戳一個小洞。
  2. Tape the tracing paper inside the box, across the middle, as a screen. (In a chip can, cut it about 5 cm from the bottom and put the paper between the two pieces.)把描圖紙橫貼在盒子中間當螢幕。(洋芋片罐可以在離底部約 5 公分處切開,把紙夾在兩段中間。)
  3. Point the hole at a bright window or a sunny tree, never at the Sun. Cover your head and the open end with the cloth and look at the screen.把小孔對著明亮的窗戶或陽光下的樹,絕不對著太陽。用布蓋住頭和開口,看螢幕。
  4. Is the picture upside down? Now make the hole a little bigger. What happens to the brightness and the sharpness?影像是不是顛倒的?再把孔弄大一點:亮度和清晰度怎麼變了?

The picture is faint, so the darker it is around your eyes, the better you will see it.
影像很淡,眼睛周圍越暗,看得越清楚。

Classroom Activity 2 · 課堂活動二

Zoom In on a Photo 把照片放到最大

You need · 準備材料

  • A phone or tablet (an adult's)一支手機或平板(大人的)
  • A magnifying glass一個放大鏡

Steps · 步驟

  1. Take a photo of something colorful, then zoom in on it as far as you can. When do you start to see little squares?拍一張色彩豐富的照片,盡量放大。放到多大開始看到小方格?
  2. Take the same photo in a dim room. Zoom in again. What looks different?在比較暗的房間拍同一張照片,再放大看看,有什麼不一樣?
  3. Open a plain white page on the screen and look at it through the magnifying glass. What colors do you see?在螢幕上打開一頁全白的畫面,用放大鏡看:你看到哪些顏色?
  4. Talk about it: a camera measures red, green, and blue, and a screen mixes red, green, and blue. How are they alike?討論:相機量紅、綠、藍,螢幕混合紅、綠、藍,兩者哪裡像?

Don't press hard on the screen with the magnifying glass, and keep it out of direct sunlight.
放大鏡不要用力壓螢幕,也不要放在太陽直射的地方。

Sources · 資料出處

Facts and numbers on this page were checked against these sources (October 2026). · 本頁的事實與數字依下列資料查證(2026 年 10 月)。

  1. The Mozi (4th century BC) describes an upside-down pinhole image; Shen Kuo's 1088 explanation《墨子》(公元前四世紀)記載小孔顛倒成像;沈括 1088 年的解釋Wikipedia, “Camera obscura” ↗
  2. Oldest surviving photograph, by Niépce in 1827, with a long exposure traditionally estimated at about eight hours現存最古老的照片:尼埃普斯 1827 年,曝光時間傳統估計約八小時Wikipedia, “View from the Window at Le Gras” ↗
  3. Bayer filter: used in most single-chip camera sensors; half green, a quarter red, a quarter blue; Bayer's 1976 patent拜耳濾色陣列:多數單晶片感光元件採用;一半綠、四分之一紅、四分之一藍;1976 年專利Wikipedia, “Bayer filter” ↗
  4. Steven Sasson's 1975 Kodak camera: 100 × 100 pixels, 23 seconds per black-and-white image, recorded to cassette tape沙森 1975 年在柯達的相機:100 × 100 像素、每張黑白照片 23 秒、存在錄音帶Wikipedia, “Steven Sasson” ↗
  5. iPhone 16: 48MP Fusion main cameraiPhone 16:4,800 萬畫素主相機Apple, “iPhone 16 – Tech Specs” ↗
  6. Thin lens equation and image formation薄透鏡公式與成像Wikipedia, “Thin lens” ↗
  7. How the eye focuses an upside-down picture on the retina眼睛怎麼把顛倒的影像對焦在視網膜上twrses.org, Human Body Lesson 8 ↗