LibRaw: Making Foveon-like Images with a Bayer Camera
1
Human Elements wrote:
I just came across this article. Most of it is beyond me but I figured you guys would find it interesting, regardless of how effective it actually is. If anyone tries it, I'd love to see samples that aren't web-resolution versions...The author seems to have a good grasp of the strengths of Foveon and some of the images do appear to have that Foveon *something.*
LibRaw can be used and it works with fp L DNGs.
The LibRaw download for Windows is under 3mb and is in the form of a zip file.
Iliah Borg sent me instructions that work for this, and I have added a line or two to try to make it even plainer. Many thanks to Iliah Borg!
Here they are:
LibRaw doesn't need what is usually called installation, unzipping is enough.
LibRaw includes command-line utilities, dcraw_emu is one of those.
Following is a brief Windows how-to on the use LibRaw to obtain half-size color image, that is 2 by 2 Bayer pattern is treated as one "superpixel".
Download LibRaw-0.20.2-Win64.zip from
https://www.libraw.org/download
Right-click on the download, select "Extract All", set or confirm the destination for extracting, press "Extract".
Navigate first to to LibRaw-0.20.2 folder, then to bin folder.
Open the Windows Start menu and search for "cmd." Press Enter.
Or, open the Windows Start menu, scroll down, click on "Windows System" folder then click on "Command Prompt".
Black DOS-style "Command Prompt" window will appear.
Drag dcraw_emu from LibRaw bin folder into that window,
press space bar, type "-h -w -T " (without quotes, but with the space at the end after the T) into the window,
drag a raw file into the window, press Enter.
A tiff file will appear in the folder that contains the raw file you've dragged in.
The line should look like this:
C:\Users\user>C:\Users\user\Downloads\LibRaw-0.20.2-Win64\LibRaw-0.20.2\bin\dcraw_emu.exe -h -w -T"Z:\DSCF5108.NEF"
My line looked like this:
C:\Users\thoma>C:\Users\thoma\Pictures\Software\LibRaw\LibRaw-0.20.2-Win64\LibRaw-0.20.2\bin\dcraw_emu.exe -h -w -T D:\Sigma_fpL\fpL_131_GreatFalls\DNG\FPL00127.DNG
You can drag several files at once this way:
C:\Users\user>C:\Users\user\Downloads\LibRaw-0.20.2-Win64\LibRaw-0.20.2\bin\dcraw_emu.exe -h -w -T"Z:\07FA5108.NEF"
"Z:\07FA5109.NEF" "Z:\07FA5123.DNG"
Running dcraw_emu without any parameters, like this:
C:\Users\user>C:\Users\user\Downloads\LibRaw-0.20.2-Win64\LibRaw-0.20.2\bin\dcraw_emu.exe
produces a list of other available options.
The tiff produced is 1/4 the original pixels since the Bayer quads are each processed individually without interpolating to neighbors.
This process works great. The Tiff produced lacks contrast but does not seem to have any other strange issues, and it is not particularly sharp. It responds wonderfully to sharpening in FastStone at least. I'll put up a few samples later, running out of time at the moment.
-- hide signature --
Tom Schum
"Beware of taking advice from anonymous wise men." Quote from Anon.