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

Levas

  • Contributor
  • Hero Member
  • *****
  • Posts: 1486
  • 6d - Nightly build user
Re: Dual ISO - massive dynamic range improvement (dual_iso.mo)
« Reply #2275 on: August 29, 2014, 10:51:20 AM »
"So? I compare reds with reds and blues with blues, not reds with blues."

Just thinking, you're comparing reds with interpolated reds(interpolated from only red data from the other brightness image).
Actually you're comparing the red data with itself.
Edit: Not true, red and blue are both in the dark and bright image (See A1ex reply below)

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12353
  • Emergencies only
Re: Dual ISO - massive dynamic range improvement (dual_iso.mo)
« Reply #2276 on: August 29, 2014, 10:51:38 AM »
But dual iso means alternating lines, so the bright image contains the blue pixels and the dark image contains the red pixels.

Nope ;)

Levas

  • Contributor
  • Hero Member
  • *****
  • Posts: 1486
  • 6d - Nightly build user
Re: Dual ISO - massive dynamic range improvement (dual_iso.mo)
« Reply #2277 on: August 29, 2014, 10:58:58 AM »
Looking at the white paper now, and see that it alternates every 2 lines  :-[, that explains a lot.

How does it work for dual iso video, with the line skipping ?
Are both red and blue as wel in the dark image and bright image ?

EDIT: Looking at a video frame now, seeing both dark and bright lines are 2 pixels in height, so both red and blue are in the brigt and dark area's.

kichetof

  • Contributor
  • Senior
  • *****
  • Posts: 469
  • Take a beer and enjoy it!
Re: Dual ISO - massive dynamic range improvement (dual_iso.mo)
« Reply #2278 on: August 29, 2014, 02:38:04 PM »
Update

Download latest cr2hdr-20bit below

Danne

  • Contributor
  • Hero Member
  • *****
  • Posts: 6221
Re: Dual ISO - massive dynamic range improvement (dual_iso.mo)
« Reply #2279 on: August 29, 2014, 02:44:01 PM »
@Kitchehof. Awesome!
@Alex. Biggest thanks for this fix. Will try right now.

No more border issues converting dual iso moviefiles using 3x zoom mode thanks to Alex fix. in 20bit cr2hdr. Sweet!




Levas

  • Contributor
  • Hero Member
  • *****
  • Posts: 1486
  • 6d - Nightly build user
Re: Dual ISO - massive dynamic range improvement (dual_iso.mo)
« Reply #2280 on: August 29, 2014, 03:24:53 PM »
"fixed another border condition"

Testing this new CR2HDR build and I think "fixed another border condition" is not the only thing that has changed/fixed  ;D

kichetof

  • Contributor
  • Senior
  • *****
  • Posts: 469
  • Take a beer and enjoy it!
Re: Dual ISO - massive dynamic range improvement (dual_iso.mo)
« Reply #2281 on: August 29, 2014, 03:33:43 PM »
@Levas exactly :) this is the latest commit!

You can see all commits here for cr2hdr-20bit!

Many thanks a1ex!

Levas

  • Contributor
  • Hero Member
  • *****
  • Posts: 1486
  • 6d - Nightly build user
Re: Dual ISO - massive dynamic range improvement (dual_iso.mo)
« Reply #2282 on: August 29, 2014, 04:15:43 PM »
Thanks A1ex! 
CR2HDR-20bit output has improved a lot for dual iso lineskipping video  :D

@kichetof
I'm using this new build in your Lightroom plugin, opened the plugin in finder and replaced the CR2HDR20bit file with this new one, works !

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12353
  • Emergencies only
Re: Dual ISO - massive dynamic range improvement (dual_iso.mo)
« Reply #2283 on: August 29, 2014, 05:50:18 PM »
Well, the ISO matching method from previous binary passed most of my tests, but not all. I went back to my previous algorithm, and replaced the highlight median with a brute force search, somewhat similar to RANSAC. The nice property of this algorithm is that it handles a huge number of outliers, as long as the relevant data points are clustered together, and the outliers are scattered all over the place.

Here's something that seems worth reading (I didn't read it yet, only looked at pictures): RANSAC4Dummies.pdf

Anyway, here's an update that passed all my tests: cr2hdr-20bit.exe

And here are the tests: https://www.dropbox.com/sh/xfkizhu4lpoiuc8/AAC5GkEpZVacRUXcfrv1ikwVa?dl=0

(some very difficult images were 000166, 00017x, _46A0416, _46A3766, _UAL1304, IMG_2524; the previous binary failed at _UAL1304)

kichetof

  • Contributor
  • Senior
  • *****
  • Posts: 469
  • Take a beer and enjoy it!
Re: Dual ISO - massive dynamic range improvement (dual_iso.mo)
« Reply #2284 on: August 29, 2014, 06:12:49 PM »
Code: [Select]
$ ./cr2hdr
cr2hdr: a post processing tool for Dual ISO images

Last update: 0eabcb0 on 2014-08-29 12:42:54 UTC by a1ex:
cr2hdr exposure matching: when all else fails, brute force prevails...

Download cr2hdr-20bit for Mac only with last commit 0eabcb0 ;)

Download here

Levas

  • Contributor
  • Hero Member
  • *****
  • Posts: 1486
  • 6d - Nightly build user
Re: Dual ISO - massive dynamic range improvement (dual_iso.mo)
« Reply #2285 on: August 29, 2014, 06:32:25 PM »
"When all else fails"   Ha ha ha  :D

I think I start off with this build from now on  8)

Or is there a reason not to starts off with this "when all else fails" build and is it (picture quality wise) better to first try the previous build(s)  ???

5DanielMIII

  • New to the forum
  • *
  • Posts: 47
  • -I love JESUS and MagicLantern-
Re: Dual ISO - massive dynamic range improvement (dual_iso.mo)
« Reply #2286 on: September 03, 2014, 12:35:21 AM »
First,
Thanks for improving my life with fun stuff called Magic Lantern!!  :)

I have been testing the latest 2014-08-07 00:01:30 +0200 5D.123 build with dual iso.
I can not prosess any .dng files on PC.

Win 7 pro 64bit
5D Mark III

-I first converted the MLV files with Raw2Cdng, Mystic and Mirawviewer in Win 7 PC.
-I then tried converting all the different files with an "old" cr2hdr.exe I found on my pc, I downloaded it August 9th 2013.
-I then downloaded  cr2hdr from the link provided in this thread/forum on page 1, tried both the regular one and the 20bit.exe

*20bit.exe converts my dng`s into something cracy.
It produces really messed up files, where the dual iso lines are still present and the colors are loco and pink-ish.

The regular c2hdr converts only 1 dng and then crashes, everytime.
The finished file is just as crazy as the ones that 20bit.exe makes.

Then tried with barracudaGUI, still crazy files coming out..

So,
after all this I tried with another MLV that was recorded with build, 5D.113 2014-07-08 01:11:45 +0200
Made dng`s with Mirawviewer and then dropped them all onto the 20bit.exe.....
Peeerfect with both old and new cr2hdr.exe`s.

That leaves me with not being able to convert dual iso made with the build I am on today, 5D.123 AND WINDOWS
I tried the same dng`s that with a Mac, and that worked without trouble.
Am I missing something?

https://www.dropbox.com/s/oh25s85xqc1a1el/M02-025500003.dng?dl=0

https://www.dropbox.com/s/1x3w31wjfwpn7b5/M02-030000000.dng?dl=0

from mlv.dump
https://www.dropbox.com/s/ytg6wrlxe89c5o1/M02-0255_frame_000000.dng?dl=0
I am thankful that Jesus and MagicLantern exist, because they both change lives!

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12353
  • Emergencies only
Re: Dual ISO - massive dynamic range improvement (dual_iso.mo)
« Reply #2287 on: September 04, 2014, 02:59:01 PM »
An unprocessed DNG should be enough.

freonor

  • New to the forum
  • *
  • Posts: 2
Re: Dual ISO - massive dynamic range improvement (dual_iso.mo)
« Reply #2288 on: September 05, 2014, 11:24:11 AM »
Is it possible to check the exposure in camera when shooting dual iso? Does previewing photos still work the same or is it weird looking? Tried searching, but couldn't find anything.

Audionut

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3583
  • Blunt and to the point
Re: Dual ISO - massive dynamic range improvement (dual_iso.mo)
« Reply #2289 on: September 05, 2014, 11:46:49 AM »

freonor

  • New to the forum
  • *
  • Posts: 2
Re: Dual ISO - massive dynamic range improvement (dual_iso.mo)
« Reply #2290 on: September 05, 2014, 12:47:30 PM »
Use raw based exposure guides.

Does this mean that I have to use liveview to see exposure? I'm interested in dual iso for stills atm.

Levas

  • Contributor
  • Hero Member
  • *****
  • Posts: 1486
  • 6d - Nightly build user
Re: Dual ISO - massive dynamic range improvement (dual_iso.mo)
« Reply #2291 on: September 05, 2014, 04:53:19 PM »
You can check you're exposure in live view and close it, and then take your still ?
Or stay in live view and make you're still...

dmilligan

  • Developer
  • Hero Member
  • *****
  • Posts: 3218
  • 60Da / 1100D / EOSM
Re: Dual ISO - massive dynamic range improvement (dual_iso.mo)
« Reply #2292 on: September 05, 2014, 06:22:51 PM »
Or don't enter LV at all and simply take a photo. The overlays show up in QR too

kontrakatze

  • Freshman
  • **
  • Posts: 72
Re: Dual ISO - massive dynamic range improvement (dual_iso.mo)
« Reply #2293 on: September 13, 2014, 11:47:48 AM »
Hello,
I shoot quite bit of photos using dualiso and am developing them on my mac. The lightroom script is very nice, but on the mac I see a problem using the commandline tools for more interactivity (mainly me not realy understanding how to work with them or installing). That is why I thought using one of the already existing (commercial) programs might ease the workflow for me. So, I asked one company if they wouldn't be interested in supporting dualiso dng's. They told me that they don't know exactly, but that the dng's would lack two different tags to be opened correctly to start with.

These tags are:
CFAPlaneColor tag 50710
CFALayout tag 50711

I absolutely don't know what to do with this, but thought it might be of interest for everybody to pass on this information. I hope I didn't do anything wrong.

Regards,
Kontrakatze

pippo810331

  • Just arrived
  • *
  • Posts: 1
Re: Dual ISO - massive dynamic range improvement (dual_iso.mo)
« Reply #2294 on: September 14, 2014, 04:27:15 PM »
Ok, I need some help here. Maybe a dumb question but... I made all the steps for processing my dual iso photo and in the end I cannot open the final DNG file. Which version of Photoshop and ACR do I need? I have Photoshop CS3 and ACR 4.6.
Thank you all.

Stedda

  • Hero Member
  • *****
  • Posts: 504
Re: Dual ISO - massive dynamic range improvement (dual_iso.mo)
« Reply #2295 on: September 14, 2014, 04:31:07 PM »
Quote
Ok, I need some help here. Maybe a dumb question but... I made all the steps for processing my dual iso photo and in the end I cannot open the final DNG file. Which version of Photoshop and ACR do I need? I have Photoshop CS3 and ACR 4.6.
Thank you all.

Try running the Dual ISO DNG through Adobe DNG Converter (FREE) and set the ACR to match what you have. I don't think you'll find anyone here actively using that old of a version of Photoshop. Beside all of the advances in photo processing in the last 5+ years.... it may be time to think about an upgrade. At least try Lightroom 5.6 it's free for 30 days...
5D Mark III -- 7D   SOLD -- EOS M 22mm 18-55mm STM -- Fuji X-T1 18-55 F2.8-F4 & 35 F1.4
Canon Glass   100L F2.8 IS -- 70-200L F4 -- 135L F2 -- 85 F1.8 -- 17-40L --  40 F2.8 -- 35 F2 IS  Sigma Glass  120-300 F2.8 OS -- 50 F1.4 -- 85 F1.4  Tamron Glass   24-70 2.8 VC   600EX-RT X3

Levas

  • Contributor
  • Hero Member
  • *****
  • Posts: 1486
  • 6d - Nightly build user
Re: Dual ISO - massive dynamic range improvement (dual_iso.mo)
« Reply #2296 on: September 14, 2014, 05:23:35 PM »
If you want a free raw converter I can recommend RawTherapee.

http://www.rawtherapee.com

I'm using both Lightroom 5 and Raw Therapee.
Lightroom is a lot easier to use, but the more I get used to Raw Therapee, I think Raw Therapee gives me better results, especially with dual iso files (better debayering better false color elimination etc.).


kichetof

  • Contributor
  • Senior
  • *****
  • Posts: 469
  • Take a beer and enjoy it!
Re: Dual ISO - massive dynamic range improvement (dual_iso.mo)
« Reply #2297 on: September 14, 2014, 06:05:06 PM »
At least try Lightroom 5.6 it's free for 30 days...

Or cost $9.99/month with Lightroom and Photoshop. Always up to date!

senzazn12

  • Freshman
  • **
  • Posts: 83
Re: Dual ISO - massive dynamic range improvement (dual_iso.mo)
« Reply #2298 on: September 21, 2014, 03:30:19 PM »
Lets say we do a full day of shooting a mix of regular and dual iso movie clips/shots. Anyway we can differentiate between the two when post processing?

walter_schulz

  • Contributor
  • Senior
  • *****
  • Posts: 396
Re: Dual ISO - massive dynamic range improvement (dual_iso.mo)
« Reply #2299 on: September 21, 2014, 03:46:20 PM »
Custom file prefix and/or metadata keyword "Dual-ISO".