Dual ISO - massive dynamic range improvement (dual_iso.mo)

Started by a1ex, July 16, 2013, 06:33:50 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

jOt

Quote from: Marsu42 on September 23, 2013, 10:14:31 AM
But it would teach you how to use photoshop actions :->
:D I know actions. Resulted images from photoshop are awful. Aliasing is much worse than from cr2hdr converted at half res. HDR merge doesn't work as it should too.

robinlee

Hi a1ex, your new cr2hdr works a treat now with actual exiftool are working! (saves me doing them 1 by 1 :D)

I have to say many thanks to you and the members who helped in developing the cr2hdr  ;)

Cheers
Robin

pointbob1

basic question here; aren't you anchored to use it at iso 100 - what what would you do trying to take pics of friends in a dimly lit pub? iso 100 forces a real slow shutter speed, yes? ie. iso 100/1600...is my thinking wrong?

Marsu42

Quote from: pointbob1 on September 23, 2013, 07:44:21 PM
basic question here; aren't you anchored to use it at iso 100 - what what would you do trying to take pics of friends in a dimly lit pub? iso 100 forces a real slow shutter speed, yes? ie. iso 100/1600...is my thinking wrong?

You can manually set the iso on your camera and then the second iso in the module, either as a relative ev or absolute iso value. Just note that combining high iso values will gain only a small bit of dynamic range, see the dr curve for your camera here: http://www.sensorgen.info/

jOt

...so no developers interested in modification of cr2hdr to have manual control instead of automatic detection of fields order? Maybe easier than implementing command line would be 4 versions of cr2hdr, since there is 4 combination of fields order?

Marsu42

Quote from: jOt on September 24, 2013, 01:38:28 PM
...so no developers interested in modification of cr2hdr to have manual control instead of automatic detection of fields order?

Give them some time, will you? Unless someone says it *won't* be implemented, given the amount of features being worked on in parallel and this not being a major bug it's not on top of the list... look again after a week or so?

jOt

Quote from: Marsu42 on September 24, 2013, 01:40:48 PM
Give them some time, will you? Unless someone says it *won't* be implemented, given the amount of features being worked on in parallel and this not being a major bug it's not on top of the list... look again after a week or so?
I know, I keep asking cause tomorrow I got an exam in filmschool and one shot in my exam movie is missed...

a1ex

Try this: int is_bright[4] = {1,1,0,0}, then {0,1,1,0}, then {0,0,1,1} and {1,0,0,1}. These are the 4 combinations.

Right now I'm a bit busy with some other stuff, sorry.

jOt

Thanks Alex. How exactly I can use this code? Cr2hdr closes immediately after double-click. Where should I write the code and filename? Sorry for asking banal questions.

RenatoPhoto

Quote from: jOt on September 24, 2013, 03:04:28 PM
Thanks Alex. How exactly I can use this code? Cr2hdr closes immediately after double-click. Where should I write the code and filename? Sorry for asking banal questions.
You have to have a deep understanding of how the cr2hdr is created.  In the dual-iso module there is the C code named cr2hdr.c which is where all of the details of this program lays.  If you have the knowledge then go into this code and make the necessary changes.  But of course you first have to set compiler. 
Of course if you are not a hardcore ML programmer this will not be possible.
http://www.pululahuahostal.com  |  EF 300 f/4, EF 100-400 L, EF 180 L, EF-S 10-22, Samyang 14mm, Sigma 28mm EX DG, Sigma 8mm 1:3.5 EX DG, EF 50mm 1:1.8 II, EF 1.4X II, Kenko C-AF 2X

Audionut

Quote from: a1ex on September 24, 2013, 02:27:29 PM
Try this: int is_bright[4] = {1,1,0,0}, then {0,1,1,0}, then {0,0,1,1} and {1,0,0,1}. These are the 4 combinations.

I've compiled 4 different version of cr2hdr with the combinations quoted.
https://www.dropbox.com/sh/qyh4agzisg3g0c5/16RZU1Z2Bg

jOt

Quote from: Audionut on September 24, 2013, 04:16:53 PM
I've compiled 4 different version of cr2hdr with the combinations quoted.
https://www.dropbox.com/sh/qyh4agzisg3g0c5/16RZU1Z2Bg
Many thanks, Audionut. Unfortunately when I drop dng on cr2hdr I got a message that version of this file is not compatible with my windows version. I got win7 64x. What version I shoud have?

Audionut

Sorry, I had to setup a new build environment and never bothered to check the compiles before uploading.
I'll try and get it fixed tomorrow.

whumber

Quote from: jOt on September 24, 2013, 03:04:28 PM
Thanks Alex. How exactly I can use this code? Cr2hdr closes immediately after double-click. Where should I write the code and filename? Sorry for asking banal questions.

Just drag your dual ISO CR2 file(s) onto the CR2HDR executable file.  Alternatively you could write a batch file to point CR2HDR to the CR2 files but dragging is the easier method.  Double clicking doesn't work because CR2HDR is not an interactive program but a console program that relies on input arguments.

orim

Hi, a1ex

thank you for DualISO on my 50D, it is awesome.
It however started to work for me as expected only since the last build of cr2hdr.exe
(till then i had only green whites + pink shadows as dng, do not know why...)

But, is there any chance to create cr2hdr with multicore CPUs support, please?
This single core version is really time consuming, which is time limiting for testing dualISO pictures...
It is a waste of resources we have. :-)

Anyway, thanks again.

a1ex

You can already use a batch script that does this. There's one posted somewhere in this thread.

Also found something here: http://stackoverflow.com/questions/672719/parallel-execution-of-shell-processes

swinxx

hi,

today i shot a dual iso raw video. after converting the files with rawmagic to dng files they are unprocessed with both isos - perhaps rawmagic can implement those file types in the future.. ?

i have now noticed that when i use the mac gui 1.2 cr2hdr i get an error message: the file type is not supported..

here is the link to the dng file and a screenshot of the error message:
https://www.dropbox.com/sh/wzh6q2994ve7i6d/kKL5Whmuln

another question:
is it possible to implement an option to mark dual iso raw videos with a prefix DUAL like dualiso photos...
that would be really handy because i have shot so many small video files, some with dualiso, others not at the same day..

thank you. sw


orim

Quote from: a1ex on September 25, 2013, 11:23:15 PM
You can already use a batch script that does this. There's one posted somewhere in this thread.

Also found something here: http://stackoverflow.com/questions/672719/parallel-execution-of-shell-processes

Thanks, a1ex
but I have no idea how this could be helpful for me :-)
As far as I understand that script, it is meant for different king of task.

Drag&drop dualiso cr2s on cr2hdr.exe is nice and simple, I would not change it.
Plus, parallel processing of multiple cr2 files would perhaps overload HDD...
so multicore processing of one cr2 at a time still sounds better. At least for me. :-)

Have a nice day.



Audionut

As far as I see, the code has steps that rely on previous steps.  This can't be multi-threaded.

The HDD load is small.  It's only a 40mb (or so) read/save at any one time.  And the processing time far outweighs the file loading/saving.

Marsu42

Quote from: Audionut on September 26, 2013, 09:56:58 AM
It's only a 40mb (or so) read/save at any one time.

By the way - you guys most likely know that the cr2hdr output isn't compressed, or not optimally so? Re-compressing the resulting dng in Lightroom (ACR) cuts the size about in half, of course as lossless conversion.

RenatoPhoto

The successful vbs script by engardeknave has been re-namend moved to Scripts Repository:
Script for Automatic Multiple instances of cr2hdr
http://www.magiclantern.fm/forum/index.php?topic=8520.0
http://www.pululahuahostal.com  |  EF 300 f/4, EF 100-400 L, EF 180 L, EF-S 10-22, Samyang 14mm, Sigma 28mm EX DG, Sigma 8mm 1:3.5 EX DG, EF 50mm 1:1.8 II, EF 1.4X II, Kenko C-AF 2X

akumiszcza

I'm getting some Dual-ISO files, that do not have "DUAL" prefix and some files with this prefix that are not Dual-ISO. I think this happens especially when I shoot series of photos. AETTR with linked Dual-ISO, Canon 50D, latest nightly (it happened in previous builds, too).

mk11174

Quote from: jOt on September 24, 2013, 03:04:28 PM
Thanks Alex. How exactly I can use this code? Cr2hdr closes immediately after double-click. Where should I write the code and filename? Sorry for asking banal questions.
I think I made the correct changes from what Alex said, here are the 4 versions plus the normal one. Like always make sure the file is in the same folder as the EXE file when you drag and drop to convert.
https://bitbucket.org/mk11174/magic-lantern/downloads/cr2hdr_combo.zip

500D/T1i  550D/T2i  600D/T3i  700D/T5i

budafilms

All the raw files recorded with the last build that I put in this software say:

/Volumes/RAID/GRILL/100EOS5D/M26-1348.RAW File not Supported
THE END

I tried with RAW2DNG and I get Pro Res video with lot of horizontal lines.

Please, help!!!

Audionut

You need to convert the raw file to DNGs.  Then process the DNGs with cr2hdr.