Asked • 03/19/19

How to convert a matrix containing a non-demosaiced image to a RAW image file, openable by Lightroom?

I have a camera module, from which I am reading out "RAW", non-demosaiced image data (this camera module uses a Bayer BGGR filter). I am currently storing this in a MATLAB matrix. I am aware that MATLAB can demosaic this image for me, but I would like to use Adobe Lightroom's demosaicing algorithm and processing tools.Do any tools exist to convert this matrix (using MATLAB or otherwise) into a standard RAW file, such as Adobe's DNG format? I understand that DNG is very similar to TIFF, can this be leveraged?

1 Expert Answer

By:

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.