No BSD License  

Highlights from
Use dcraw to import RAW images

Be the first to rate this file! 9 Downloads (last 30 days) File Size: 132.23 KB File ID: #20765

Use dcraw to import RAW images

by Steffen

 

18 Jul 2008 (Updated 18 Jul 2008)

This solution let you use the latest dcraw version for import raw images

| Watch this File

File Information
Description

This functions let you use any dcraw version wih any parameter provided by dcraw. Works on any plattform as well.
Just get a compiled version of dcraw and make your changes in the file "openRaw_2.m".
This version is made for intel macs, but the changes to make are very small for any other platform.
Win: change '/dcrawx86 -v -4 -D -T' to '/dcraw.exe -v -4 -D -T'

e.g. this gives you a 16bit mosaic file.

Details in ReadMe.txt

MATLAB release MATLAB 5.2 (R10)
Other requirements any platform, dcraw required
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
13 Apr 2009 Royi Avital

Is there a way to get the matrices before any demosaicing?

Thanks.

15 Jul 2010 Stacy Ross

I am having trouble getting your program to run on Windows7 with MatLab 7.9.1 (R2009b).

I downloaded dcraw for windows 7 and placed it in the folder I use for MatLab. It is saved as dcraw64.exe. I then change all "dcrawx86" to "dcraw64".

Can you please let me know if I'm doing something obviously wrong? If possible, could you give me an example of how you call your openRawImage command? v=openRawImage('data') ?

Stacy

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
dcraw Steffen 22 Oct 2008 10:10:43
import Steffen 22 Oct 2008 10:10:43
photo Steffen 22 Oct 2008 10:10:43
raw Steffen 22 Oct 2008 10:10:43
nef Steffen 22 Oct 2008 10:10:43
canon Steffen 22 Oct 2008 10:10:43
nikon Steffen 22 Oct 2008 10:10:43
canon jeroen 21 Mar 2009 10:32:45
raw Nina Van der Pyl 12 Aug 2010 07:15:14
image Jose Ercolino 27 Jan 2012 18:46:42
import Jose Ercolino 27 Jan 2012 18:46:44
photo Jose Ercolino 27 Jan 2012 18:46:44
raw Jose Ercolino 27 Jan 2012 18:46:44
convert Jose Ercolino 27 Jan 2012 18:46:44
nef Jon Paul 11 May 2012 14:08:32

Contact us at files@mathworks.com