raw to tiff conversion

Hello,
I have converted raw file to tiff using an online converter, but the converted image has pink color through out the image along with the image that is converted. How do I correct this? I need uncompressed image for my project. How do I get to know if the image conversion is correct and the converted image has all the properties restored?
Thank you.

6 Comments

There is no international standard for raw files. Every manufacturer uses their own format. The online convertor you found might have bugs or possibly was designed for an older version of that manufacturer's raw format.
On the other hand, I am having difficulty finding the name of a manufacturer that uses ".raw" as an extension; the major ones tend to be more specific https://www.file-extensions.org/filetype/extension/name/digital-camera-raw-files
@Walter, Photron software that comes with their high-speed cameras will save raw frames with a .raw extension.
@Deep P, _"the converted image has all the properties restored". The raw format(s) usually don't store any properties. It just stores the raw, unprocessed output of the camera sensor. Often, there is a separate file that stores the metadata. As Walter says each manufacturer has their own format. In matlab, multibandread (together with demosaic for colour sensors) can be used to decode most raw formats as long as you know how the sensor infomation is stored.
I didn't know there was often a separate metadata file. The TIFF-based raw formats would be able to store properties without difficulty it seems to me?
The only times I've had to deal with raw images/videos is with expensive scientific cameras (such as the aforementioned photrons) and they always saved the camera settings (exposure, trigger time, etc.) in a separate file (.cih for photron). The raw file only contains the ADC counts straight from the sensor. For colour sensors, it's the Bayer pattern that is saved in the file.
I've never used raw with more mainstream cameras. perhaps these don't save the settings in a separate file (or at all).
@ Guillaume, Walter - Firstly Thanks for your response, I am sorry its .CR2 file I am trying to convert (sorry I just mentioned raw file).
Would it be possible for you to attach the file? If it is too large for here would you be able to put it on Google Drive or Dropbox? (I recognize that releasing images is not always possible for legal or privacy reasons.)

Sign in to comment.

Answers (0)

Categories

Find more on Convert Image Type in Help Center and File Exchange

Asked:

on 2 Feb 2017

Commented:

on 4 Feb 2017

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!