Raw2dng

From apertus wiki
Jump to: navigation, search

raw2dng is a commandline tool to convert raw12 format images to digital negatives in the open standard DNG format and applies several corrections/compensations in the process.

1 Installation

Compiling raw2dng on a 64bit system requires the gcc-multilib package.

Ubuntu:

sudo apt-get install gcc-multilib

Then acquire the source from https://github.com/apertus-open-source-cinema/misc-tools-utilities/tree/master/raw2dng and run "make"

openSUSE:

sudo zypper install gcc-32bit libgomp1-32bit

Then acquire the source from https://github.com/apertus-open-source-cinema/misc-tools-utilities/tree/master/raw2dng and run "make"

AXIOM Beta:

  1. acquire the source from https://github.com/apertus-open-source-cinema/misc-tools-utilities/tree/master/raw2dng
  2. copy files to AXIOM Beta
  3. remove "-m32" from Makefile
  4. run "make" inside camera

2 Usage

raw2dng image.raw12

3 Further Notes

Older versions of cmv_snap3 (current AXIOM Beta firmware still contains this old version) had a bug and swapped the order of even and odd lines in written raw12 files. As a result converting these raw12 images to DNG created wrong colors (all pink) as seen in the following picture:

Screen Shot 2018-06-02 at 11.47.43.png

It is recommended to install/compile the latest version of cmv_snap3 on your AXIOM Beta to fix the issue for future captured images.

To fix raw12 images already recorded with even/odd lines swapped use the --swap-lines parameter with raw2dng:

raw2dng image.raw12 --swap-lines

Details about the RAW12 format.