Converting raw images to DNG

TecPIV reads either 16-bit tiff files or adobe dng files, which are then converted to 16-bits tiff files. This allows abstracting the specificities of each camera make and model. The conversion from a raw image in the format of the camera maker (eg. .raw, .nef) is delegated to other existing software like Adobe DNG Converter.

However, despite being designed to be an open standard, the dng format produced by Adobe DNG converter is non-unique. You can specify some options when converting and not all options are compatible with how TecPIV reads the dng file.

Converting the raw files into DNG is advantageous because you can keep a copy of the files in a documented format, that preserves the colour information while the 16-bit tiffs employed for the PIV calculation are grayscale.

So here are some screen captures of Adobe DNG converter with the settings producing dng files which can safely be imported into TecPIV and converted to 16-bit tiff files.

Screenshot 2020-04-10 11.04.36

Capture of Adobe DNG converter 12 on macos. Select the directory containing the raw files and click the change preferences button.

Screenshot 2020-04-10 11.05.02

Select custom compatibility, and embed the original raw file in the dng (all metadata will be preserved)

Screenshot 2020-04-10 11.05.17

Select DNG 1.4 and uncompressed and not demosaiced (we will do that in TecPIV).

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.