Popular Post bla Posted November 14, 2013 Popular Post Share #1 Posted November 14, 2013 Advertisement (gone after registration) Hello fellow M8 users, I am very happy to announce that I finished the tool mentioned in the thread M8 goes uncompressed DNG! It creates 16bit (acually 14bit in a 16bit container) DNG files from the M8 RAW files with slightly more pixels and much more discrete values compared to the 8bit standard DNG. I even set up a website with download, comment function, contact form and whatnot... even though I am really not familiar with web programming so please be lenient if it is not as polished as this site here for example. The command-line tool is available for Windows, Mac OS X and Linux, so I am now looking forward to getting some input after you tested it on your own files. You can find more information on m8raw2dng.de. I am trying to make the program as good as possible (because I am using it myself on a daily basis). To achieve this I thought it clever to share it with the community even though I had to create a completely new software from scratch in C++ even though I already have a running version in Matlab with more functionality. But I think that'll change as I focus now on the C++ version. I invite you to share this information with other M8 users on other forums, flickr groups, wherever you like. Have fun and good results, Arvid 25 Quote Link to post Share on other sites More sharing options...
Advertisement Posted November 14, 2013 Posted November 14, 2013 Hi bla, Take a look here M8raw2dng - Tool to convert Leica M8 RAW files to DNG. I'm sure you'll find what you were looking for!
menos I M6 Posted November 15, 2013 Share #2 Posted November 15, 2013 Thanks Arvid! The site looks great, no need to be modest and I am looking forward, experimenting with the tool. It would be very helpful, to share some short tutorials about how to use the tool to convert files for people who usually do not dive deep into computers. How would I achieve to create a droplet for batch processing DNG files with the use of Apple script or Automator? 2 Quote Link to post Share on other sites More sharing options...
Erik Gunst Lund Posted November 15, 2013 Share #3 Posted November 15, 2013 Thanks! Site looks great, looking forward to testing Quote Link to post Share on other sites More sharing options...
bla Posted November 15, 2013 Author Share #4 Posted November 15, 2013 (edited) Hello Dirk, How would I achieve to create a droplet for batch processing DNG files with the use of Apple script or Automator? I am not familiar with Apple but on my system the following works: # global variable definitions global TheApp, Params # TheApp should point to the m8raw2dng executable on setTheApp() set TheApp to "/Applications/m8raw2dng" end setTheApp # Params are the Parameters you want to hand over to the script on setParams() set Params to " -v -r -b -p -o /Users/YourName/Pictures" end setParams # From here on leave it be on open filelist setTheApp() setParams() repeat with i in filelist tell application "Terminal" activate set filecount to 1 set filename to do shell script ¬ "perl -e \"print quotemeta ('" & POSIX path of i & "');\"" if (count of windows) is 0 then do script TheApp & " -i " & filename & " " & Params else do script TheApp & " -i " & filename & " " & Params in window 1 end if end tell end repeat end open set filecount to 0 if filecount < 1 then setTheApp() setParams() tell application "Terminal" do script TheApp end tell end if Just paste to AppleScript and save as application. You have to change the TheApp path and the Params according to your needs. The droplet is now available on the site for download and I posted a more detailed explanation. You can either put it into a folder containing RAW files and run it from there with double click or you can drag RAW files of your choice onto the icon. Is that working for you? Greetings, Arvid Edited November 15, 2013 by bla Forgot to explain :) 2 Quote Link to post Share on other sites More sharing options...
Erik Gunst Lund Posted November 15, 2013 Share #5 Posted November 15, 2013 Just downloaded the Windows version. After a reset to look in folder 102LEICA instead of 100LEICA, the program converted the images as advertised in Windows 7. And the DNG files opens nicely in Adobe CS6. All good! Quote Link to post Share on other sites More sharing options...
bla Posted November 15, 2013 Author Share #6 Posted November 15, 2013 Just downloaded the Windows version. After a reset to look in folder 102LEICA instead of 100LEICA, the program converted the images as advertised in Windows 7. And the DNG files opens nicely in Adobe CS6. All good! Hi Erik, nice to hear! Of course the 100LEICA was just an example. One has to take whatever folder the RAW files are stored. I created a batch file for windows easing the use of the tool and I will upload it right now. You might want to try it. Greetings, Arvid 3 Quote Link to post Share on other sites More sharing options...
Erik Gunst Lund Posted November 15, 2013 Share #7 Posted November 15, 2013 Advertisement (gone after registration) Both droplets works just fine, the conversions of the files are near instant. Thats great It will take some getting used to how to expose for the best result and also PP is completely different. So will have to do some testing to see.... Thanks so far, all works. Quote Link to post Share on other sites More sharing options...
Erik Gunst Lund Posted November 15, 2013 Share #8 Posted November 15, 2013 The DNG files look really good in Capture One Pro! Much better than ACR They look not so nice in Corel After Shot Pro and they are decent in Photo Ninja... 1 Quote Link to post Share on other sites More sharing options...
bla Posted November 15, 2013 Author Share #9 Posted November 15, 2013 I think you are getting different results because the raw developer programs still take this as a standard M8 raw file. I think it is necessary to create new color profiles for the new files as they differ from the M8 files. Nevertheless do I think that the files have to be better once they are developed properly if I just look at the histograms there are so many additional values which are thrown away in a standard M8 DNG. I do not have a colorchecker passport or something of that sort yet, but I will try to get hold of one soon and see if I can get to better profiles. Additionally, there is one thing that might right now pose some minor problems: the conversion tool uses the color matrices from my M8, might be that they differ from yours. I plan on extracting the color matrix from a standard M8 DNG as a dummy file for a workaround as they are neither stored in the RAW nor in the JPG. Just don't delete the RAW+JPG pairs for now, the conversion will definitely be improved in future versions. Thanks for your feedback! Arvid 1 Quote Link to post Share on other sites More sharing options...
Erik Gunst Lund Posted November 15, 2013 Share #10 Posted November 15, 2013 Indeed, early days here! Interesting info on the color matrices from the M8, so you be able to fine tune that... I have an X-Rite colorchecker passport so I can do a proper profile Quote Link to post Share on other sites More sharing options...
fotoism Posted November 16, 2013 Share #11 Posted November 16, 2013 The DNG files look really good in Capture One Pro! .. For some reason I can't open the DNG files in C1 Pro (7.1.5 x64) in Windows 7. Not even the thumbnails are showing. The files open fine in PS CS6 and LR, I even tried them on PSP and ACDSee and all are fine. Are there some settings I must change in order to open these DNG files in C1Pro? Quote Link to post Share on other sites More sharing options...
bla Posted November 16, 2013 Author Share #12 Posted November 16, 2013 Hi Phil, Are there some settings I must change in order to open these DNG files in C1Pro? Thank you for your input. I have not tested the files in that program, but Erik below seems to have had no problems opening them. Greetings, Arvid Quote Link to post Share on other sites More sharing options...
Erik Gunst Lund Posted November 16, 2013 Share #13 Posted November 16, 2013 For some reason I can't open the DNG files in C1 Pro (7.1.5 x64) in Windows 7. Not even the thumbnails are showing. The files open fine in PS CS6 and LR, I even tried them on PSP and ACDSee and all are fine. Are there some settings I must change in order to open these DNG files in C1Pro? My C1P is on my Mac, so don't know what could be the problem. Sorry Quote Link to post Share on other sites More sharing options...
menos I M6 Posted November 16, 2013 Share #14 Posted November 16, 2013 Arvid, the droplet is great! The conversion works fine and the DNGs are readable with Lightroom 5 on OS X. I have played a little with the files. It seems that there are mainly two differences immediately visible, when comparing between the files when developing for B&W (I didn't test any colours): - noise patterns are less obtrusive as with the original files - more detail in shadows I have one major problem though that now forbids for me to use these files unfortunately until I find a solution. It seems, that using these direct RAW files completely circumvents the cameras ability to remove dead pixels during raw conversion. Every single RAW file from my camera shows with this method one half row of dead pixels right in the center of the frame :-( There is no easy way of removing this unfortunately. This dead pixel line does not show up in the original DNG files from the camera, nor does it show in the JPG files (neither original JPGs, nor the JPGs, generated with "RAW+JPG fine"). Arvid, do you see any way, how to deal with such issues? Quote Link to post Share on other sites More sharing options...
fotoism Posted November 16, 2013 Share #15 Posted November 16, 2013 Arvid, Erik: Thanks for the replies. I'll keep trying. Any Win 7 users out there tried the DNG files on C1Pro? Quote Link to post Share on other sites More sharing options...
pieter.h Posted November 16, 2013 Share #16 Posted November 16, 2013 Thanks for all the work you put in so far. This is already a fantastic project! Quote Link to post Share on other sites More sharing options...
bla Posted November 16, 2013 Author Share #17 Posted November 16, 2013 (edited) Arvid, do you see any way, how to deal with such issues? Hello Dirk, I encounter something similar in some situations with my M8 so I have already some ideas how to address this. 1.) DNG has the option to include defective pixels so that the raw converters can interpolate them (this would increase the filesize a little bit though) 2.) interpolate the Pixels directly in the data during conversion. (i.e. fix the raw data) (this changes the raw data though) Main problem right now is: how to create a sensor mapping? Manually would be easy but tedious (though you only have to do it once), automatically is a lot of programming effort, error handling, testing... I can't decide on how to do it. But be assured that there will be a solution as I myself have this issue... Arvid, Erik: Any Win 7 users out there tried the DNG files on C1Pro? I tried it (unfortunately also on Mac) with C1Pro 7.1.4. No problems there... So I think that there is something else messed up especially since the files do open in all DNG converters fine. @all: I experimented with the color profiles a little bit more and found out some interesting things. 1.) Lightroom doesn't care for the embedded color matrices as long as it recognizes the camera model (in our case M8), so I changed the tool to give "M8RAW Digital Camera" as model. 2.) Thanks to M9 owner photoallee (Carsten) I am now in possession of an uncompressed M9 DNG and extracted the color matrice and included them in the conversion tool. I somehow like how the converted files look like. 3.) I changed the method of Blacklevel determination. Now some more Pixels are set to black but I feel like it works better now. Not sure though if these changes justify the release of v1.1... and if you want to try it Cheers, Arvid Edited November 16, 2013 by bla 2 Quote Link to post Share on other sites More sharing options...
Erik Gunst Lund Posted November 16, 2013 Share #18 Posted November 16, 2013 Yes please make a new release Quote Link to post Share on other sites More sharing options...
Erik Gunst Lund Posted November 16, 2013 Share #19 Posted November 16, 2013 Btw my sensor is new so no real issues with dead or hot pixels Quote Link to post Share on other sites More sharing options...
bla Posted November 17, 2013 Author Share #20 Posted November 17, 2013 Hello @all, new version is up (only half-release v1.05, but still...) Greetings, Arvid 2 Quote Link to post Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.