All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Understanding Raw Camera Sensor Data: How Unprocessed Photos Appear as Gray-Scale Values

By

zdw

5mo ago· 4 min readen

Summary

This article explains what a raw, unprocessed photo looks like directly from a camera sensor, using a Christmas tree photo as an example. The author demonstrates that raw sensor data appears as gray-scale values rather than a proper image, showing how the camera's analog-to-digital converter outputs values in a limited range. The article walks through the technical process of converting raw sensor data into a viewable image, explaining concepts like ADC values, histogram analysis, and basic image processing techniques to transform the initial gray-scale data into a recognizable photograph.

Key quotes

· 5 pulled
Here's a photo of a Christmas tree, as my camera's sensor sees it:
It's not even black-and-white, it's gray-and-gray.
This is because while the camera's analog-to-digital converter (ADC) output can theoretically output values from 0 to 16382, the data doesn't cover that whole range.
The real range of ADC values is ~2110 to ~136000.
Let's set those values as the white and black in the image: Vnew = (Vold - Black)/(White - Black)
Snippet from the RSS feed
Here’s a photo of a Christmas tree, as my camera’s sensor sees it:

You might also wanna read