Magic Lantern Firmware Wiki
No edit summary
 
(44 intermediate revisions by the same user not shown)
Line 1: Line 1:
  +
__NOEDITSECTION__
 
'''[work in progress]'''
 
'''[work in progress]'''
   
=='''Topic: what are the best ISOs in Canon DSLR?'''==
+
=='''Topic: what are the best ISOs in Canon DSLR, in movie mode?'''==
   
Most people believe that 160, 320, 640 and so on (the so-called ''native ISOs'') are the best choice. Not everybody agrees though. So, let's break it down.
+
Many people believe that 160, 320, 640 and so on (the so-called ''native ISOs'') are the best choice. Not everybody agrees though. So, let's break it down.
   
 
Reading through the 'net, I've noticed two theories:
 
Reading through the 'net, I've noticed two theories:
   
# Multiples of ISO 160 are native. Advocates: [http://marvelsfilm.wordpress.com/2009/10/10/canon-7d-noise-and-iso-test/]...
+
'''Theory 1: Multiples of ISO 160 are native, and all others are digitally pushed.''' Advocates: [http://marvelsfilm.wordpress.com/2009/10/10/canon-7d-noise-and-iso-test/]...
  +
# Multiples of 160 are digitally pulled by 1/3-stop (from 200, 400 etc), so they have 1/3-stop less dynamic range. Advocates: [http://shootintheshot.joshsilfen.com/2010/05/13/canon-hd-dslr-native-iso/]...
+
'''Theory 2: Multiples of 160 are digitally pulled by 1/3-stop (from 200, 400 etc), so they have 1/3-stop less dynamic range.''' Advocates: [http://shootintheshot.joshsilfen.com/2010/05/13/canon-hd-dslr-native-iso/]...
   
 
My theory: the answer is somewhere in the middle.
 
My theory: the answer is somewhere in the middle.
   
  +
==='''Background'''===
Background: Magic Lantern can alter the amount of digital ISO gain (either push or pull). In the image processing pipeline, this happens before the data above some preset level (let's call this ''white level'') is clipped.
 
   
 
Magic Lantern can alter the amount of digital ISO gain (either push or pull). In the image processing pipeline, this happens before the raw data above some preset level (let's call this ''white level'') is clipped.
==='''Push/pull? What's that?'''===
 
  +
Well.. it's just darkening or brightening the image digitally. If you push by 1 EV, you brighten the image so that you get the same thing as if you increase the exposure by 1 EV in the camera.
 
 
==='''Push/pull? Digital gain? What's that?'''===
 
Well... it's just darkening or brightening the image digitally. If you push by 1 EV, you brighten the image so that you get the same look (well, a bit noisier) as if you increase the exposure by 1 EV in the camera.
   
 
To do this, you need to:
 
To do this, you need to:
  +
# either have access to raw data (and multiply raw data by 2 before developing it - for 1 EV);
+
* either have access to raw data (and multiply raw data by 2 before developing it - for 1 EV);
# or, in 8-bit space, know the response curve (and shift the image by 1 EV along that curve).
 
  +
 
* or, in 8-bit space, know the response curve (and shift the image by 1 EV along that curve).
   
 
==='''Some facts'''===
 
==='''Some facts'''===
* ISO 160 has more highlight detail than ISO 200 (all other parameters being equal). This invalidates theory #2.
+
* ISO 160 has more highlight detail than ISO 200 (all other parameters being equal). Trivial to check. This invalidates theory #2.
 
* ISO 160, ISO 200 and ISO 250 are '''identical''' in RAW. Proof: try it yourself with dcraw. This means that all of them are obtained by different digital processing of the same RAW data. In all 3 cases, the analog circuitry is configured at the same parameters. Some (or all) of these ISOs are either pushed or pulled digitally.
 
* ISO 160, ISO 200 and ISO 250 are '''identical''' in RAW. Proof: try it yourself with dcraw. This means that all of them are obtained by different digital processing of the same RAW data. In all 3 cases, the analog circuitry is configured at the same parameters. Some (or all) of these ISOs are either pushed or pulled digitally.
 
* At all ISOs, white is 255. This might suggest that ISO 200 may be digitally pushed from 160. Not true, see below.
 
* At all ISOs, white is 255. This might suggest that ISO 200 may be digitally pushed from 160. Not true, see below.
 
* ISO 160x have a harsher highlight rolloff than ISO 100x. Proof: [response curve plots]. This is probably to mask the digital pull effect.
 
* ISO 160x have a harsher highlight rolloff than ISO 100x. Proof: [response curve plots]. This is probably to mask the digital pull effect.
 
* Canon's ISO 160 has less highlight details that ML's ISO 200 digitally pulled by 1/3 EV (more exactly, 3/8 EV). Midtones and highlights are identical. Proof: [comparison images].
 
* Canon's ISO 160 has less highlight details that ML's ISO 200 digitally pulled by 1/3 EV (more exactly, 3/8 EV). Midtones and highlights are identical. Proof: [comparison images].
  +
  +
[[Image:Iso640canon.jpg|150px]] [[Image:Iso640eq.jpg|150px]]
   
 
==='''What I believe'''===
 
==='''What I believe'''===
* Full-stop ISOs are done by throwing away a small amount of useful highlight data. Proof: [images]
+
* Full-stop ISOs are done by throwing away a small amount of useful highlight data. Proof: from first two facts.
* The true ISOs is somewhere in-between 160x and 200x, very close to [http://www.dxomark.com/index.php/Cameras/Camera-Sensor-Database/Canon/EOS-550D dxomark measurements].
+
* The true ISOs is somewhere in-between 160x and 200x, close to [http://www.dxomark.com/index.php/Cameras/Camera-Sensor-Database/Canon/EOS-550D DxOMark measurements]. Proof: by pulling (with ML) from ISO 200 you get more details (fact 1), so true ISO is less than 200; by pulling 3/8 EV from ISO 200 (to get 160 equivalent), white may come out just a bit under 255 (easy to check with ML spotmeter), so true ISO is higher than 160.
* Because of this, ISO 200 is digitally pushed, and ISO 160 is digitally pulled.
+
* Conclusion: ISO 200 is digitally pushed, and ISO 160 is digitally pulled.
  +
  +
=='''Questions & Answers'''==
   
 
OK, so, from all this mess, let's try to answer some questions.
 
OK, so, from all this mess, let's try to answer some questions.
Line 39: Line 49:
   
 
==='''Are ISO 100 multiples the best to use?'''===
 
==='''Are ISO 100 multiples the best to use?'''===
'''NO'''. While they have smooth highlight rolloff, they '''are digitally pushed''' by roughly 0.2 stops. This means, these 0.2 stops, which contain data with the best SNR possible, are simply '''thrown away'''.
+
'''NO'''. While they do have smooth highlight rolloff, they '''are digitally pushed''' by a small amount (the exact value depends on picture style and other settings). What does this mean: a small amount of raw data, which actually has the best SNR possible, is simply '''thrown away'''.
   
 
==='''Then, what is the best ISO?'''===
 
==='''Then, what is the best ISO?'''===
 
To the best of my knowledge, the best ISOs are the ones available in recent Magic Lantern versions (April 2012 or later), '''obtained from ISO 100 multiples''' adjusted with a small amount of '''negative digital gain''':
 
To the best of my knowledge, the best ISOs are the ones available in recent Magic Lantern versions (April 2012 or later), '''obtained from ISO 100 multiples''' adjusted with a small amount of '''negative digital gain''':
* ISO 85, 175, 350, 700, 1400, 2800 - best for Neutral -4 and other low-contrast styles.
+
* '''ISO 85, 175, 350, 700, 1400, 2800''' - best for Neutral -4 and other low-contrast styles.
* ISO 80, 160, 320, 640, 1250, 2500 - good for a wide range of situations.
+
* '''ISO 80, 160, 320, 640, 1250, 2500''' - good for a wide range of situations.
* ISO 70, 140, 280, 560, 1100, 2200 - best for high-contrast styles.
+
* '''ISO 70, 140, 280, 560, 1100, 2200''' - best for high-contrast styles.
   
 
To enable them, set DIGIC ISO gain (in ISO submenu) at -0.2/-0.3/-0.5 EV and dial your ISO from ML menu or shortcut keys.
 
To enable them, set DIGIC ISO gain (in ISO submenu) at -0.2/-0.3/-0.5 EV and dial your ISO from ML menu or shortcut keys.
   
==='''What should I use for high-contrast scenes? Should I try highlight tone priority (HTP)?'''===
+
==='''What should I use for high-contrast scenes? Should I try Highlight Tone Priority (HTP)?'''===
 
'''YES'''. Strongly recommended for high-contrast scenes. Combine it with a slight negative DIGIC ISO gain.
 
'''YES'''. Strongly recommended for high-contrast scenes. Combine it with a slight negative DIGIC ISO gain.
   
Line 62: Line 72:
 
If HTP and negative gain are not enough, try HDR video.
 
If HTP and negative gain are not enough, try HDR video.
   
  +
[[Video:5D2_HDR_Video_-_Luke_Neumann|200px|HDR video example]]
[thinking to place Dod3032's video with the houses]
 
   
 
==='''What about low-contrast scenes?'''===
 
==='''What about low-contrast scenes?'''===
Line 80: Line 90:
 
Avoid it in photo mode.
 
Avoid it in photo mode.
   
  +
==='''How far ISO can go?'''===
==='''I've set DIGIC ISO gain at -1EV or lower, and now I'm getting pink highlights. What's that?===
 
   
  +
* Recommended range: ISO 70-1400 (pulled from 100-1600).
You are getting something similar to the output of [http://bit.ly/dcraw-h1 dcraw -H1]. This is data above the white level, which is clipped by Canon JPEG engine. It may contain roughly 1 extra stop of correct luma data, but with incorrect colors. If you can guess the colors, or if your highlights are white, you have the recipe of '''roughly 1 extra stop''' of dynamic range (or less noise) in movie mode.
 
  +
* If you don't care about highlights, or know how to recover them, try ISO 50 or 25.
  +
* For absolute darkness, you can select ISO up to 819200. No, it's not usable. Better try to lower FPS first (you can now go all the way down to 0.2 FPS).
  +
 
==='''Pink highlights: I've set DIGIC ISO gain at -1EV or lower, and now I'm getting strange colors. What's that?===
  +
 
You are getting something similar to the output of [http://bit.ly/dcraw-h1 dcraw -H1]. This is data above the white level, which is normally clipped by Canon JPEG engine. It may contain roughly 1 extra stop of correct luma data, but with incorrect colors. If you can guess the colors, or if your highlights are white, you have the recipe of '''roughly 1 extra stop''' of dynamic range (or less noise) in movie mode.
   
 
This happens due to the internal workings of white balance. WB is performed by multiplying the raw R, G and B channels with some constants. The values for Canon 350D, which are very close to the ones used in current Canon DSLRs, are [http://www.guillermoluijk.com/tutorial/dcraw/index_en.htm]:
 
This happens due to the internal workings of white balance. WB is performed by multiplying the raw R, G and B channels with some constants. The values for Canon 350D, which are very close to the ones used in current Canon DSLRs, are [http://www.guillermoluijk.com/tutorial/dcraw/index_en.htm]:
Line 95: Line 111:
   
 
So, for white highlights, worst case of extra DR is 1 EV under Fluorescent lighting, and best case is 1.34 EV under Shade. Caveat: you need to know how to postprocess.
 
So, for white highlights, worst case of extra DR is 1 EV under Fluorescent lighting, and best case is 1.34 EV under Shade. Caveat: you need to know how to postprocess.
  +
  +
Note: ML digital ISO pulling happens '''before''' Canon clips the raw data to white.
   
 
=='''Conclusion'''==
 
=='''Conclusion'''==
   
  +
Contrary to popular wisdom, Magic Lantern '''can''' improve image quality, not just offer visual tools for proper exposure.
  +
  +
My advice:
  +
  +
* Use ISOs '''lower than 100''' (not normally available in Canon firmware). These should be the cleanest.
  +
* Dial ISOs from ML menu/keys. ISO 160 from ML '''is better''' than ISO 160 from Canon controls.
  +
* Don't be afraid of higher iso (for night scenes) or Highlight Tone Priority (for high-contrast scenes).
  +
* To reduce noise, expose to the right and use negative digital ISO gain (pull).
   
 
=='''Practical advice'''==
 
=='''Practical advice'''==
Line 110: Line 136:
 
* '''Rule 3.''' Do not overexpose.'''
 
* '''Rule 3.''' Do not overexpose.'''
 
* '''Rule 4.''' Do not underexpose.'''
 
* '''Rule 4.''' Do not underexpose.'''
  +
  +
=='''Further reading'''==
  +
* [http://www.dxomark.com/index.php/About/In-depth-measurements/Measurements/ISO-sensitivity DxOMark - ISO sensitivity]
  +
* [http://www.dxomark.com/index.php/Publications/DxOMark-Insights/Pushed-ISO-Let-s-make-it-clear DxOMark - Pushed ISO - Let's make it clear]
  +
* [http://www.guillermoluijk.com/article/iso/index.htm Guillermo Luijk - Mejora en ruido en subiendo el ISO] (Noise improvement by raising the ISO)
  +
* [http://www.guillermoluijk.com/article/isos5dmkii/index.htm Guillermo Luijk - Los ISOs astronomicos de la Canon 5D Mark II]

Latest revision as of 19:07, 3 April 2012

[work in progress]

Topic: what are the best ISOs in Canon DSLR, in movie mode?

Many people believe that 160, 320, 640 and so on (the so-called native ISOs) are the best choice. Not everybody agrees though. So, let's break it down.

Reading through the 'net, I've noticed two theories:

Theory 1: Multiples of ISO 160 are native, and all others are digitally pushed. Advocates: [1]...

Theory 2: Multiples of 160 are digitally pulled by 1/3-stop (from 200, 400 etc), so they have 1/3-stop less dynamic range. Advocates: [2]...

My theory: the answer is somewhere in the middle.

Background

Magic Lantern can alter the amount of digital ISO gain (either push or pull). In the image processing pipeline, this happens before the raw data above some preset level (let's call this white level) is clipped.

Push/pull? Digital gain? What's that?

Well... it's just darkening or brightening the image digitally. If you push by 1 EV, you brighten the image so that you get the same look (well, a bit noisier) as if you increase the exposure by 1 EV in the camera.

To do this, you need to:

  • either have access to raw data (and multiply raw data by 2 before developing it - for 1 EV);
  • or, in 8-bit space, know the response curve (and shift the image by 1 EV along that curve).

Some facts

  • ISO 160 has more highlight detail than ISO 200 (all other parameters being equal). Trivial to check. This invalidates theory #2.
  • ISO 160, ISO 200 and ISO 250 are identical in RAW. Proof: try it yourself with dcraw. This means that all of them are obtained by different digital processing of the same RAW data. In all 3 cases, the analog circuitry is configured at the same parameters. Some (or all) of these ISOs are either pushed or pulled digitally.
  • At all ISOs, white is 255. This might suggest that ISO 200 may be digitally pushed from 160. Not true, see below.
  • ISO 160x have a harsher highlight rolloff than ISO 100x. Proof: [response curve plots]. This is probably to mask the digital pull effect.
  • Canon's ISO 160 has less highlight details that ML's ISO 200 digitally pulled by 1/3 EV (more exactly, 3/8 EV). Midtones and highlights are identical. Proof: [comparison images].

Iso640canon Iso640eq

What I believe

  • Full-stop ISOs are done by throwing away a small amount of useful highlight data. Proof: from first two facts.
  • The true ISOs is somewhere in-between 160x and 200x, close to DxOMark measurements. Proof: by pulling (with ML) from ISO 200 you get more details (fact 1), so true ISO is less than 200; by pulling 3/8 EV from ISO 200 (to get 160 equivalent), white may come out just a bit under 255 (easy to check with ML spotmeter), so true ISO is higher than 160.
  • Conclusion: ISO 200 is digitally pushed, and ISO 160 is digitally pulled.

Questions & Answers

OK, so, from all this mess, let's try to answer some questions.

Are ISO 160 multiples the best to use?

NO. They have harsh highlight rolloff and intentionally clipped details in highlights. I have no idea why.

Are ISO 100 multiples the best to use?

NO. While they do have smooth highlight rolloff, they are digitally pushed by a small amount (the exact value depends on picture style and other settings). What does this mean: a small amount of raw data, which actually has the best SNR possible, is simply thrown away.

Then, what is the best ISO?

To the best of my knowledge, the best ISOs are the ones available in recent Magic Lantern versions (April 2012 or later), obtained from ISO 100 multiples adjusted with a small amount of negative digital gain:

  • ISO 85, 175, 350, 700, 1400, 2800 - best for Neutral -4 and other low-contrast styles.
  • ISO 80, 160, 320, 640, 1250, 2500 - good for a wide range of situations.
  • ISO 70, 140, 280, 560, 1100, 2200 - best for high-contrast styles.

To enable them, set DIGIC ISO gain (in ISO submenu) at -0.2/-0.3/-0.5 EV and dial your ISO from ML menu or shortcut keys.

What should I use for high-contrast scenes? Should I try Highlight Tone Priority (HTP)?

YES. Strongly recommended for high-contrast scenes. Combine it with a slight negative DIGIC ISO gain.

Why? Because of its place in the image processing pipeline. HTP is applied before 8-bit conversion and picture styles. So, when Flaat12 can no longer get any more shadow detail, HTP does the trick.

Keep in mind that ISO 200 with HTP is actually ISO 100 with shadows and midtones lifted. In movie mode, it has 1 extra stop of dynamic range (if you expose to the right, you get 1 extra stop of shadow detail).

What about noise? Negative gain in ML will reduce it.

[proof: screenshot].

If HTP and negative gain are not enough, try HDR video.

200px|HDR video example

What about low-contrast scenes?

Low-contrast scene: a scene with a lot of unused "space" in the histogram. [histogram screenshot]

  1. Choose a high-contrast picture style.
  2. Expose to the right. This will maximize SNR => minimal noise.
  3. Center the histogram (or adjust the brightness as close to the final look as possible) with a strong negative digital ISO gain.

Is ISO 6400 digitally pushed?

YES. It's digitally pushed by 1 stop from ISO 3200. Guillermo Luijk arrived to the same conclusion.

But this does not mean you should not use it. The reason is the 8-bit codec. Same for higher ISOs.

Avoid it in photo mode.

How far ISO can go?

  • Recommended range: ISO 70-1400 (pulled from 100-1600).
  • If you don't care about highlights, or know how to recover them, try ISO 50 or 25.
  • For absolute darkness, you can select ISO up to 819200. No, it's not usable. Better try to lower FPS first (you can now go all the way down to 0.2 FPS).

Pink highlights: I've set DIGIC ISO gain at -1EV or lower, and now I'm getting strange colors. What's that?

You are getting something similar to the output of dcraw -H1. This is data above the white level, which is normally clipped by Canon JPEG engine. It may contain roughly 1 extra stop of correct luma data, but with incorrect colors. If you can guess the colors, or if your highlights are white, you have the recipe of roughly 1 extra stop of dynamic range (or less noise) in movie mode.

This happens due to the internal workings of white balance. WB is performed by multiplying the raw R, G and B channels with some constants. The values for Canon 350D, which are very close to the ones used in current Canon DSLRs, are [3]:

  • Default (D65 lamp): multipliers 2.395443 1.000000 1.253807
  • Tungsten: multipliers 1.392498 1.000000 2.375114
  • Daylight: multipliers 2.132483 1.000000 1.480864
  • Fluorescent: multipliers 1.783446 1.000000 1.997113
  • Shade: multipliers 2.531894 1.000000 1.223749
  • Flash: multipliers 2.429833 1.000000 1.284593
  • Cloudy: multipliers 2.336605 1.000000 1.334642

So, for white highlights, worst case of extra DR is 1 EV under Fluorescent lighting, and best case is 1.34 EV under Shade. Caveat: you need to know how to postprocess.

Note: ML digital ISO pulling happens before Canon clips the raw data to white.

Conclusion

Contrary to popular wisdom, Magic Lantern can improve image quality, not just offer visual tools for proper exposure.

My advice:

  • Use ISOs lower than 100 (not normally available in Canon firmware). These should be the cleanest.
  • Dial ISOs from ML menu/keys. ISO 160 from ML is better than ISO 160 from Canon controls.
  • Don't be afraid of higher iso (for night scenes) or Highlight Tone Priority (for high-contrast scenes).
  • To reduce noise, expose to the right and use negative digital ISO gain (pull).

Practical advice

How to set ISO in MOVIE mode

  • Golden rule 1. Do not underexpose.
  • Rule 2. Do not overexpose.
  • Rule 3. Use a little negative digital gain.

How to set ISO in PHOTO mode

  • Golden rule 1. Shoot RAW.
  • Rule 2. Use full-stop ISO, at most 1600.
  • Rule 3. Do not overexpose.
  • Rule 4. Do not underexpose.

Further reading