Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 1352

Python • Re: Saving bayer image from camera in a raw format

$
0
0
Pypylon gives me the option to debayer the raw image and turn it into a variety of formats like jpg, png or tiff, but I want to export them to DNG or any other user friendly raw format.
What are you trying to accomplish?

Camera manufacturers will normally save their sensor output to a proprietary RAW format. From there, photo processing software must convert it into a recognizable image format like TIFF. This is the way Adobe products work work with RAW files from Canon and Nikon.

Basler provides software libraries https://docs.baslerweb.com/software which is what you may be using.

So, 'user friendly raw format' is a bit of an oxymoron since you can't view a RAW file since it's only a collection of sensor readings. When you do click on a RAW file, and see a picture, it's merely one of the embedded JPG preview files in the RAW file.

My suggestion is to just use the TIFF file output unless the Basler link about provides something different.

Statistics: Posted by DS256 — Thu May 09, 2024 1:32 pm



Viewing all articles
Browse latest Browse all 1352

Trending Articles