Author Topic: Dual ISO - massive dynamic range improvement (dual_iso.mo)  (Read 2271564 times)

jOt

  • New to the forum
  • *
  • Posts: 12
Re: Dual ISO - massive dynamic range improvement
« Reply #1150 on: September 23, 2013, 11:29:36 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

  • New to the forum
  • *
  • Posts: 10
Re: Dual ISO - massive dynamic range improvement
« Reply #1151 on: September 23, 2013, 07:44:02 PM »
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

  • New to the forum
  • *
  • Posts: 17
Re: Dual ISO - massive dynamic range improvement
« Reply #1152 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?

Marsu42

  • Contributor
  • Hero Member
  • *****
  • Posts: 1557
  • 66d + flashes
Re: Dual ISO - massive dynamic range improvement
« Reply #1153 on: September 23, 2013, 09:44:05 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

  • New to the forum
  • *
  • Posts: 12
Re: Dual ISO - massive dynamic range improvement
« Reply #1154 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? Maybe easier than implementing command line would be 4 versions of cr2hdr, since there is 4 combination of fields order?

Marsu42

  • Contributor
  • Hero Member
  • *****
  • Posts: 1557
  • 66d + flashes
Re: Dual ISO - massive dynamic range improvement
« Reply #1155 on: September 24, 2013, 01:40:48 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

  • New to the forum
  • *
  • Posts: 12
Re: Dual ISO - massive dynamic range improvement
« Reply #1156 on: September 24, 2013, 02:09:14 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

  • Administrator
  • Hero Member
  • *****
  • Posts: 12564
Re: Dual ISO - massive dynamic range improvement
« Reply #1157 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.

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

jOt

  • New to the forum
  • *
  • Posts: 12
Re: Dual ISO - massive dynamic range improvement
« Reply #1158 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.

RenatoPhoto

  • Moderators
  • Hero Member
  • *****
  • Posts: 1509
  • 5DM3 / 7D
Re: Dual ISO - massive dynamic range improvement
« Reply #1159 on: September 24, 2013, 03:42:36 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

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3657
  • Blunt and to the point
Re: Dual ISO - massive dynamic range improvement
« Reply #1160 on: September 24, 2013, 04:16:53 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

  • New to the forum
  • *
  • Posts: 12
Re: Dual ISO - massive dynamic range improvement
« Reply #1161 on: September 24, 2013, 05:05:51 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

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3657
  • Blunt and to the point
Re: Dual ISO - massive dynamic range improvement
« Reply #1162 on: September 24, 2013, 06:21:45 PM »
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

  • New to the forum
  • *
  • Posts: 4
Re: Dual ISO - massive dynamic range improvement
« Reply #1163 on: September 25, 2013, 05:23:22 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

  • New to the forum
  • *
  • Posts: 22
  • 50D / 70D
Re: Dual ISO - massive dynamic range improvement
« Reply #1164 on: September 25, 2013, 11:13:01 PM »
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

  • Administrator
  • Hero Member
  • *****
  • Posts: 12564
Re: Dual ISO - massive dynamic range improvement
« Reply #1165 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

swinxx

  • Hero Member
  • *****
  • Posts: 606
Re: Dual ISO - massive dynamic range improvement
« Reply #1166 on: September 25, 2013, 11:49:16 PM »
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

  • New to the forum
  • *
  • Posts: 22
  • 50D / 70D
Re: Dual ISO - massive dynamic range improvement
« Reply #1167 on: September 26, 2013, 09:44:13 AM »
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

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3657
  • Blunt and to the point
Re: Dual ISO - massive dynamic range improvement
« Reply #1168 on: September 26, 2013, 09:56:58 AM »
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

  • Contributor
  • Hero Member
  • *****
  • Posts: 1557
  • 66d + flashes
Re: Dual ISO - massive dynamic range improvement
« Reply #1169 on: September 26, 2013, 10:15:05 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

  • Moderators
  • Hero Member
  • *****
  • Posts: 1509
  • 5DM3 / 7D
Re: Dual ISO - massive dynamic range improvement (dual_iso.mo)
« Reply #1170 on: September 26, 2013, 06:43:36 PM »
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

  • Freshman
  • **
  • Posts: 85
Re: Dual ISO - massive dynamic range improvement (dual_iso.mo)
« Reply #1171 on: September 26, 2013, 10:45:33 PM »
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

  • Contributor
  • Hero Member
  • *****
  • Posts: 809
Re: Dual ISO - massive dynamic range improvement
« Reply #1172 on: September 27, 2013, 12:10:02 AM »
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

  • Hero Member
  • *****
  • Posts: 711
  • 5D Mark a1ex
Re: Dual ISO - massive dynamic range improvement (dual_iso.mo)
« Reply #1173 on: September 27, 2013, 07:52:13 AM »
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

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3657
  • Blunt and to the point
Re: Dual ISO - massive dynamic range improvement (dual_iso.mo)
« Reply #1174 on: September 27, 2013, 09:12:40 AM »
You need to convert the raw file to DNGs.  Then process the DNGs with cr2hdr.