Raw photos converting


Here are some notes about imaging with Sony NEX-5 camera and converting its raw files into ready images. Majority of these tips is applicable to other cameras as well.

Manufacturer of the camera provides software for RAW converting: Image Data Converter and Imaging Edge. It's reasonable to assume that these tools are adjusted for Sony cameras and know all their characteristics. But they do not give linear brightness, which is essential in any serious work, their algorithm is unknown and, moreover, the first of them is obviously half-baked. In addition, such programs create beauty at the cost of truth. More mighty and transparent tools are also available in Internet, but they need characteristics of the particular camera. The same applies to conversion with self-made scripts, but they are, at least, fully controllable and changeable.

This page concerns converting raw files with the help of scripts for Matlab. Such approach gives access to linear brightness values, and, hence, is compatible with operations like flat-field correction.

Main steps of the conversion: