RAW12
From apertus wiki
1 Format Specifications
- no header, big endian, 16bit (12msb padded with 4lsb zeroes)
- starting at the top left, with 3072 rows of 4096 columns
- the data is in bayer pattern RG/GB
- image sensor registers dump (128 x 16bit, big endian) appended
2 Opening in Photoshop
- rename the file extension from ".raw16" to ".raw"
2.1 Samples
XZ compressed sample files (use 7Zip to uncompress under windows: http://www.7-zip.org/)
http://vserver.13thfloor.at/Stuff/AXIOM/ALPHA/RAW/
Hello. And Bye.
3 RAW12
There is also the derived format that leaves out the 4 lsb zeros.
Convert RAW12 -> RAW16 with imagemagick:
convert -size 4096x3072 -depth 12 gray:input.raw12 -depth 16 gray:output.raw16