# 原始图像格式

原始图像格式是一类相机文件格式，直接存储从数码相机图像传感器读取的、经过最少处理的数据，以及描述图像如何被拍摄的元数据，从而使去马赛克、白平衡、色调和锐化等所有处理决策都可以随后在计算机上而非相机内完成。<sup>[1](https://helpx.adobe.com/camera-raw/desktop/get-started/overview-and-setup/introduction-camera-raw.html)</sup><sup> • </sup><sup>[2](https://www.loc.gov/preservation/digital/formats/fdd/fdd000241.shtml)</sup>

| 关键事实 | 详情 |
|---|---|
| 内容 | 未处理的灰度或传感器图像数据，加上拍摄元数据（EXIF），如快门速度、光圈和相机型号<sup>[1](https://helpx.adobe.com/camera-raw/desktop/get-started/overview-and-setup/introduction-camera-raw.html)</sup> |
| 传感器类型 | 用于配备彩色滤镜阵列或Foveon传感器的相机；数据在离开相机前通常只经过少量处理<sup>[2](https://www.loc.gov/preservation/digital/formats/fdd/fdd000241.shtml)</sup> |
| 位深度 | 大多数相机采集12位原始数据（每通道超过4，000级），较新的相机为14位（每通道超过16，000级），而8位JPEG每通道仅256级<sup>[3](https://static.nikonusa.com/pdf/nikonschool/sun.pdf)</sup> |
| 常见扩展名 | 佳能CR2/CR3、尼康NEF、索尼ARW、富士RAF、松下RW2、奥林巴斯ORF、宾得PEF；徕卡、理光、大疆、较新的适马相机及Apple ProRAW使用DNG<sup>[4](https://everyformat.com/camera-raw-formats)</sup> |
| 开放标准 | 数字负片（DNG）由Adobe自2004年起发布，是一种非专有的归档原始格式，作为TIFF 6.0的扩展构建<sup>[5](https://aggregate.org/DIT/ei25hvei204.pdf)</sup><sup> • </sup><sup>[6](https://pronom.nationalarchives.gov.uk/fmt/1841)</sup> |
| 标准化 | ISO 12234-4:2026于2026年3月发布，将DNG图像文件格式规定为国际标准<sup>[7](https://www.iso.org/standard/86123.html)</sup> |

## 原始文件包含什么

原始文件是对传感器数据的记录，这种安排被类比为未经冲洗的胶片上的潜影。<sup>[8](https://www.elainegriffinphotography.com/uploads/4/9/7/2/49725425/the_focal_encyclopedia_of_photography_-_digital_imaging_theory_and_applications_history_and_science.pdf)</sup> Adobe将相机原始文件描述为来自图像传感器的未处理、未压缩的灰度图像数据，以及关于图像如何被拍摄的信息。<sup>[1](https://helpx.adobe.com/camera-raw/desktop/get-started/overview-and-setup/introduction-camera-raw.html)</sup> 原始格式和JPEG拍摄都携带EXIF元数据，记录相机型号和序列号、快门速度、光圈、焦距以及闪光灯是否触发。<sup>[9](https://www.adobe.com/digitalimag/pdfs/understanding_digitalrawcapture.pdf)</sup>

**压缩方式因格式而异。** 并非每个原始文件都是未压缩的。尼康的.nef格式根据相机型号提供未压缩或无损压缩两种选择，而佳能的.cr2仅采用无损压缩（一种基于JPEG DPCM的无损模式），佳能的.sraw格式则仅使用有损压缩。<sup>[10](https://library.imaging.org/admin/apis/public/api/ist/website/downloadArticle/archiving/7/1/art00035)</sup> 一些原始格式还以压缩模式从相机导出。<sup>[2](https://www.loc.gov/preservation/digital/formats/fdd/fdd000241.shtml)</sup>

## 从传感器数据到成品图像

当相机写入JPEG时，它自己完成转换：去马赛克（从彩色滤镜阵列重建完整色彩）、白平衡、锐化和压缩。<sup>[11](https://filetypedb.com/image/raw/)</sup> 原始文件则将这些步骤推迟。要生成可用图像，需要在文件传输到计算机后进行处理，这使摄影师能够根据拍摄对象和预期用途调整每一步，而不是接受相机的固定输出。<sup>[2](https://www.loc.gov/preservation/digital/formats/fdd/fdd000241.shtml)</sup>

编辑以指令形式存储，而非像素。处理软件记录调整的元数据描述，并用这些描述以TIFF、PSD或JPEG等格式渲染文件的新版本。<sup>[8](https://www.elainegriffinphotography.com/uploads/4/9/7/2/49725425/the_focal_encyclopedia_of_photography_-_digital_imaging_theory_and_applications_history_and_science.pdf)</sup> 在Adobe的工作流程中，调整存储在随附的附属文件中、数据库中，对于DNG则存储在文件本身中。<sup>[12](https://helpx.adobe.com/archive/de/photoshop/cc/2015/photoshop_reference.pdf)</sup> 尼康将NEF文件描述为由原始图像数据、缩略图和指令集组成，因此可以重新处理图像以获得不同结果，而不会对原始数据产生不利影响。<sup>[13](https://www.nikonusa.com/fileuploads/pdfs/capture_brochure.pdf)</sup>

## 位深度与编辑余量

原始拍摄的主要优势在于色调深度。在JPEG或TIFF中，红、绿、蓝每个通道最多记录256种变化，称为8位色彩，提供1，670万种颜色的调色板。大多数拍摄原始格式的相机采集12位信息，每通道提供超过4，000级，较新的尼康相机提供14位原始格式，每通道超过16，000种可能色调，在阴影色调中记录更多信息。<sup>[3](https://static.nikonusa.com/pdf/nikonschool/sun.pdf)</sup> 实际后果体现在编辑中：每次操作都会丢弃数据，而从12位或14位起步，可以在出现色调分离或色带之前进行更大幅度的调整。<sup>[3](https://static.nikonusa.com/pdf/nikonschool/sun.pdf)</sup>

这种余量的代价体现在速度和存储上。在一项12台相机的测试中，JPEG在基础ISO下的锐度与原始格式相当，但渲染更快，平均解码时间为0.8秒对4.7秒，并且在闪光灯人像中提供了更好的机内肤色。高速连拍明显有利于JPEG：索尼A9 III使用JPEG可达每秒120帧，而使用未压缩原始格式仅40帧。<sup>[14](https://frameandfocal.com/camera-reviews/raw-vs-jpeg-using-real-world-examples-illustrate-difference)</sup>

## 专有格式与DNG标准

原始格式不是单一格式，而是一个类别。每个相机制造商都有自己的版本，有些还随时间改变了格式：佳能在2004年随EOS-1D Mark II从最早的原始容器.crw转向基于TIFF的.cr2。<sup>[15](https://rip.so/camera-image-file-format.html)</sup> 尼康使用NEF，索尼使用ARW，富士使用RAF，松下使用RW2，奥林巴斯使用ORF，宾得使用PEF。<sup>[4](https://everyformat.com/camera-raw-formats)</sup>

这些格式中大多数的规范并未公开，这意味着并非每个原始文件都能被每个软件应用程序读取，将专有原始文件用作长期归档方案存在风险。<sup>[16](https://helpx.adobe.com/camera-raw/desktop/dng-and-file-formats/digital-negative.html)</sup> Adobe于2004年推出数字负片（DNG）格式作为开放标准，以应对这些互操作性挑战。<sup>[5](https://aggregate.org/DIT/ei25hvei204.pdf)</sup> DNG是TIFF格式的非专有、公开文档化的扩展，与TIFF-EP标准兼容。<sup>[6](https://pronom.nationalarchives.gov.uk/fmt/1841)</sup> Adobe提供免费的DNG转换器，可将来自600多款相机的原始文件转换为DNG，徕卡、卡西欧、理光、三星和宾得等相机制造商已推出直接支持DNG的相机。<sup>[16](https://helpx.adobe.com/camera-raw/desktop/dng-and-file-formats/digital-negative.html)</sup> DNG的地位此后从厂商规范转变为国际标准：2026年3月发布的ISO 12234-4:2026规定了DNG图像文件格式。<sup>[7](https://www.iso.org/standard/86123.html)</sup>

**原始文件在归档中的地位。** 美国国会图书馆在其《推荐格式声明》中将相机原始格式——包括DNG以及.nef、.crw、.arw和.iiq等专有格式——列为数字照片的可接受格式。<sup>[17](https://www.loc.gov/preservation/resources/rfs/stillimg.html)</sup> 其馆藏在2023年拥有超过5.5 TB的相机原始文件。<sup>[2](https://www.loc.gov/preservation/digital/formats/fdd/fdd000241.shtml)</sup> 不过，归档实践各有不同：[英格兰历史遗产委员会](https://www.edgepedia.org/zh/historic-england)主张保留原始文件，但将其转换为未压缩TIFF用于归档保存，因为TIFF被认为具有归档稳定性，在Windows、Macintosh和UNIX平台上均受支持，并且经过仔细处理，可以以最小的信息损失代表原始相机输出。<sup>[18](https://historicengland.org.uk/images-books/publications/photogrammetric-applications-for-cultural-heritage/heag066-photogrammetric-applications-cultural-heritage.pdf)</sup> 原始格式的专有性质也带来支持风险，因为如果制造商退出业务，特定格式可能无法获得长期支持，并且至少有一个实例中，数据元素被加密在原始格式内，迫使用户使用制造商自己的软件。<sup>[2](https://www.loc.gov/preservation/digital/formats/fdd/fdd000241.shtml)</sup>

## 在原始格式与处理后格式之间选择

原始文件包含更多信息，在文件大小方面比TIFF文件具有更好的压缩效率，并避免了JPEG文件中的压缩伪影，但它们需要更多的后期处理和特殊软件才能查看。<sup>[18](https://historicengland.org.uk/images-books/publications/photogrammetric-applications-for-cultural-heritage/heag066-photogrammetric-applications-cultural-heritage.pdf)</sup> 一种常见的折中方案是同时拍摄原始格式和JPEG：两者都记录可以在处理原始文件之前快速现场评估图像并发现问题。<sup>[18](https://historicengland.org.uk/images-books/publications/photogrammetric-applications-for-cultural-heritage/heag066-photogrammetric-applications-cultural-heritage.pdf)</sup> 现代软件也缩小了差距；除Photoshop的Adobe Camera Raw之外，越来越多的程序提供与JPEG和TIFF图像并行的无缝原始处理。<sup>[19](https://www.digitalcameraworld.com/buying-guides/the-best-photo-editing-software)</sup>

原始数据还服务于摄影之外的用途。[计算机视觉](https://www.edgepedia.org/zh/computer-vision)研究认为，对于目标检测等下游任务，原始表示可能比相机图像信号处理流水线输出的处理后RGB信息更丰富。<sup>[20](https://arxiv.org/abs/2301.08965)</sup>

## References

1. [Introduction to Camera Raw files, Adobe Help Center](https://helpx.adobe.com/camera-raw/desktop/get-started/overview-and-setup/introduction-camera-raw.html)
2. [Camera Raw Formats (Group Description), Library of Congress](https://www.loc.gov/preservation/digital/formats/fdd/fdd000241.shtml)
3. [Nikon School: Understanding NEF (RAW) format and bit depth](https://static.nikonusa.com/pdf/nikonschool/sun.pdf)
4. [Camera RAW Format Database, EveryFormat](https://everyformat.com/camera-raw-formats)
5. [Proprietary Raw Formats and DNG, aggregate.org](https://aggregate.org/DIT/ei25hvei204.pdf)
6. [Digital Negative Format (DNG), PRONOM, The National Archives](https://pronom.nationalarchives.gov.uk/fmt/1841)
7. [ISO 12234-4:2026, Digital imaging - Image storage - Part 4: Digital negative format](https://www.iso.org/standard/86123.html)
8. [Digital Camera Raw, The Focal Encyclopedia of Photography](https://www.elainegriffinphotography.com/uploads/4/9/7/2/49725425/the_focal_encyclopedia_of_photography_-_digital_imaging_theory_and_applications_history_and_science.pdf)
9. [Understanding Digital Raw Capture, Adobe](https://www.adobe.com/digitalimag/pdfs/understanding_digitalrawcapture.pdf)
10. [Raw as Archival Still Image Format: A Consideration, IS&T Archiving](https://library.imaging.org/admin/apis/public/api/ist/website/downloadArticle/archiving/7/1/art00035)
11. [RAW File Format - Unprocessed Sensor Data, FileTypeDB](https://filetypedb.com/image/raw/)
12. [Photoshop CC 2015 reference, Adobe](https://helpx.adobe.com/archive/de/photoshop/cc/2015/photoshop_reference.pdf)
13. [Nikon Capture brochure, Nikon](https://www.nikonusa.com/fileuploads/pdfs/capture_brochure.pdf)
14. [Raw vs JPEG: Real-World Tests, Frame & Focal](https://frameandfocal.com/camera-reviews/raw-vs-jpeg-using-real-world-examples-illustrate-difference)
15. [Camera Image File Format history, rip.so](https://rip.so/camera-image-file-format.html)
16. [Digital Negative (DNG), Adobe Help Center](https://helpx.adobe.com/camera-raw/desktop/dng-and-file-formats/digital-negative.html)
17. [Recommended Formats Statement - Still Image Works, Library of Congress](https://www.loc.gov/preservation/resources/rfs/stillimg.html)
18. [Photogrammetric Applications for Cultural Heritage, Historic England](https://historicengland.org.uk/images-books/publications/photogrammetric-applications-for-cultural-heritage/heag066-photogrammetric-applications-cultural-heritage.pdf)
19. [The best photo editing software, Digital Camera World](https://www.digitalcameraworld.com/buying-guides/the-best-photo-editing-software)
20. [Raw or Cooked? Object Detection on RAW Images, arXiv](https://arxiv.org/abs/2301.08965)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 19, 2026; Sep 30, 2026; Oct 25, 2026 · Edited: Sep 19, 2026; Oct 25, 2026 · Last review: Oct 25, 2026*

Topic: 艺术与文化 › 视觉艺术与设计 › 摄影技法、类型与历史

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/raw-image-format

English original: https://www.edgepedia.org/raw-image-format
