Approve the Cookies
This website uses cookies to improve your user experience. By using this site, you agree to our use of cookies and our Privacy Policy.
OK
Forums  •   • New posts  •   • RTAT  •   • 'Best of'  •   • Gallery  •   • Gear
Guest
Forums  •   • New posts  •   • RTAT  •   • 'Best of'  •   • Gallery  •   • Gear
Register to forums    Log in

 
FORUMS Cameras, Lenses & Accessories Canon Digital Cameras 
Thread started 09 Aug 2010 (Monday) 22:09
Search threadPrev/next
sponsored links (only for non-logged)

Is there a way to do a dark frame subtraction?

 
cdreemz17
Senior Member
Avatar
394 posts
Joined Mar 2009
Location: Johnstown, PA
     
Aug 09, 2010 22:09 |  #1

I was wondering if there was any way to do a dark frame subtraction at faster shutter speeds? I am referring to long exposure noise reduction.If not, I think we should bug Canon until they give a firmware update or implement it in future bodies. What do you think?


Only one thing matters...and it's not photography. http://www.onlocationp​hotos.net (external link)

  
  LOG IN TO REPLY
apersson850
Obviously it's a good thing
Avatar
12,730 posts
Gallery: 35 photos
Likes: 679
Joined Nov 2007
Location: Traryd, Sweden
     
Aug 10, 2010 01:29 |  #2

I'd say the impact of such an extra task is too small to be worth it.


Anders

  
  LOG IN TO REPLY
Bill ­ Boehme
Enjoy being spanked
Avatar
7,359 posts
Gallery: 39 photos
Best ofs: 1
Likes: 89
Joined Jan 2007
Location: DFW Metro-mess, Texas
     
Aug 10, 2010 03:01 |  #3

I think that you are worrying about something that does not warrant worrying.

apersson850 wrote in post #10692470 (external link)
I'd say the impact of such an extra task is too small to be worth it.

... and, I agree 100%. It would just be wasted processing with no observable benefit. If you want to see what a dark frame looks like, set the shutter to the desired time and the desired ISO (just keep in mind that high ISO NR is a completely different issue) keep the lens cap on and go into a dark closet and then fire away. Look at the dark frames in Photoshop and process them exactly the same as the properly exposed light frames. You will see that the dark frames are just that ... dark, with very little noise. You can go one step further and use Photoshop to stack the two frames and then take the difference between them. For a normal low ISO exposure, you will see no improvement in the image after doing this.

The type of noise encountered in low ISO long exposures is fixed pattern noise which is mainly a function of ambient temperature and length of exposure, but the duration needs to be long enough to allow the noise to become noticeably greater than the random noise floor.


Atmospheric haze in images? Click for Tutorial to Reduce Atmospheric Haze with Photoshop.
Gear List .... Gallery: Woodturner Bill (external link)
Donate to Support POTN Operating Costs

  
  LOG IN TO REPLY
tonylong
...winded
Avatar
54,657 posts
Gallery: 60 photos
Likes: 571
Joined Sep 2007
Location: Vancouver, WA USA
     
Aug 10, 2010 04:30 |  #4

Cameras put out in the past three years of so have long exposure noise reduction -- they take a second exposure with the same settings but with the sensor blocked out then do a dark frame subtraction.


Tony
Two Canon cameras (5DC, 30D), three Canon lenses (24-105, 100-400, 100mm macro)
Tony Long Photos on PBase (external link)
Wildlife project pics here (external link), Biking Photog shoots here (external link), "Suburbia" project here (external link)! Mount St. Helens, Mount Hood pics here (external link)

  
  LOG IN TO REPLY
kcbrown
Cream of the Crop
Avatar
5,384 posts
Likes: 2
Joined Mar 2007
Location: Silicon Valley
     
Aug 10, 2010 05:32 |  #5

apersson850 wrote in post #10692470 (external link)
I'd say the impact of such an extra task is too small to be worth it.

Normally I'd agree.

But if he has a 7D that's experiencing vertical banding in the shadows or a 5Dmk2 that's experiencing maze pattern noise then it could easily be worth it.


"There are some things that money can't buy, but they aren't Ls and aren't worth having" -- Shooter-boy
Canon: 2 x 7D, Sigma 17-50 f/2.8 OS, 55-250 IS, Sigma 8-16, 24-105L, Sigma 50/1.4, other assorted primes, and a 430EX.
Nikon: D750, D600, 24-85 VR, 50 f/1.8G, 85 f/1.8G, Tamron 24-70 VC, Tamron 70-300 VC.

  
  LOG IN TO REPLY
apersson850
Obviously it's a good thing
Avatar
12,730 posts
Gallery: 35 photos
Likes: 679
Joined Nov 2007
Location: Traryd, Sweden
     
Aug 10, 2010 05:56 as a reply to  @ kcbrown's post |  #6

That's not the way to combat the different readout levels from different columns on the sensor in the 7D (the main cause of the banding). The variation will depend also on light level, so a dark frame will not provide the proper compensation information for a normal picture.

Canon applies mathematical compensation in the camera, and in DPP, to combat this problem. The problem's complexity is probably increased by the fact that different 7D camers have different levels of inconsistency between sensor columns, so one particular level of fix doesn't cover more than one particular camera. They have to be more intelligent than that.


Anders

  
  LOG IN TO REPLY
cdreemz17
THREAD ­ STARTER
Senior Member
Avatar
394 posts
Joined Mar 2009
Location: Johnstown, PA
     
Aug 10, 2010 10:37 |  #7

Bill Boehme wrote in post #10692704 (external link)
I think that you are worrying about something that does not warrant worrying.

... and, I agree 100%. It would just be wasted processing with no observable benefit. If you want to see what a dark frame looks like, set the shutter to the desired time and the desired ISO (just keep in mind that high ISO NR is a completely different issue) keep the lens cap on and go into a dark closet and then fire away. Look at the dark frames in Photoshop and process them exactly the same as the properly exposed light frames. You will see that the dark frames are just that ... dark, with very little noise. You can go one step further and use Photoshop to stack the two frames and then take the difference between them. For a normal low ISO exposure, you will see no improvement in the image after doing this.

The type of noise encountered in low ISO long exposures is fixed pattern noise which is mainly a function of ambient temperature and length of exposure, but the duration needs to be long enough to allow the noise to become noticeably greater than the random noise floor.

As long as it would offer to no benefit, i'll leave it alone. I juus didnt want to be missing something we could benefit from. Thanks! i can rest easy now.


Only one thing matters...and it's not photography. http://www.onlocationp​hotos.net (external link)

  
  LOG IN TO REPLY
kcbrown
Cream of the Crop
Avatar
5,384 posts
Likes: 2
Joined Mar 2007
Location: Silicon Valley
     
Aug 10, 2010 15:10 |  #8

apersson850 wrote in post #10693095 (external link)
That's not the way to combat the different readout levels from different columns on the sensor in the 7D (the main cause of the banding). The variation will depend also on light level, so a dark frame will not provide the proper compensation information for a normal picture.

Hmm...but from what I've read elsewhere on the issue (e.g., in dpreview.com threads such as the one here (external link)), a dark frame subtraction actually worked for removing most of the banding, although the removal wasn't complete -- the resulting image retained a lower frequency periodic component, but said component was also of significantly lower amplitude.

While not perfect, it's a significant improvement...


"There are some things that money can't buy, but they aren't Ls and aren't worth having" -- Shooter-boy
Canon: 2 x 7D, Sigma 17-50 f/2.8 OS, 55-250 IS, Sigma 8-16, 24-105L, Sigma 50/1.4, other assorted primes, and a 430EX.
Nikon: D750, D600, 24-85 VR, 50 f/1.8G, 85 f/1.8G, Tamron 24-70 VC, Tamron 70-300 VC.

  
  LOG IN TO REPLY
apersson850
Obviously it's a good thing
Avatar
12,730 posts
Gallery: 35 photos
Likes: 679
Joined Nov 2007
Location: Traryd, Sweden
     
Aug 11, 2010 03:45 as a reply to  @ kcbrown's post |  #9

OK, then it is of some value there after all. To me, it seems smarter to do the math afterwards instead of taking yet another exposure, be it dark, since the dark exposure also consumes buffer memory, but math takes less. Canon does that already today, but those shooting RAW and then convert in other software than Canon's don't get any benefit from it.


Anders

  
  LOG IN TO REPLY
kcbrown
Cream of the Crop
Avatar
5,384 posts
Likes: 2
Joined Mar 2007
Location: Silicon Valley
     
Aug 11, 2010 03:49 |  #10

apersson850 wrote in post #10699598 (external link)
OK, then it is of some value there after all. To me, it seems smarter to do the math afterwards instead of taking yet another exposure, be it dark, since the dark exposure also consumes buffer memory, but math takes less. Canon does that already today, but those shooting RAW and then convert in other software than Canon's don't get any benefit from it.

Canon's software solution is incomplete at best. Even with the latest version of DPP, I can "fix" things so that I easily see the banding in the shadows, and it takes a lot less than you might think.

I have not yet shot with a 7D for which that isn't the case.

I think it's pretty clear that either their software people don't really understand the problem, or they don't have sufficient knowledge (which may include the necessary line adjustment values -- that could easily be a per-camera thing that they simply cannot know or deduce) or expertise to fix the problem.


"There are some things that money can't buy, but they aren't Ls and aren't worth having" -- Shooter-boy
Canon: 2 x 7D, Sigma 17-50 f/2.8 OS, 55-250 IS, Sigma 8-16, 24-105L, Sigma 50/1.4, other assorted primes, and a 430EX.
Nikon: D750, D600, 24-85 VR, 50 f/1.8G, 85 f/1.8G, Tamron 24-70 VC, Tamron 70-300 VC.

  
  LOG IN TO REPLY
hpulley
Goldmember
4,390 posts
Joined Oct 2009
     
Aug 11, 2010 05:25 |  #11

Someone remind me why I should want a 7D again??


flickr (external link) 1DIIN 40D 1NRS 650 1.4xII EF12II Pel8 50f1.8I 28-80II 17-40L 24-70L 100-400L 177A 199A OC-E3 RS-80N3

  
  LOG IN TO REPLY
apersson850
Obviously it's a good thing
Avatar
12,730 posts
Gallery: 35 photos
Likes: 679
Joined Nov 2007
Location: Traryd, Sweden
     
Aug 11, 2010 06:42 as a reply to  @ hpulley's post |  #12

Would a black frame subtraction improve the situation, then?

The 7D seems to have a thinner line of masked pixels outside the sensor than previous cameras. Before, 30 or so was more or less the rule. I think the 7D has 8. This line is used to set the black point, and could also be used to compare the level of different columns. It's like a black frame, just not over the whole area.

Softwarewise, it works pretty well to read about 30 pixels high across the columns, average these 30 and use the values computed to compensate for different column levels, which cause a great deal of this noise, when the RAW conversion is done. Different RAW converters do have procedures to compensate for different levels in different columns, so they are prepared for that. The main problem with the 7D is that the difference is so large from one camera to another, that the software vendors can't have a fixed setup for a certain model, but must adapt for each individual camera. They aren't prepared for that.


Anders

  
  LOG IN TO REPLY
kcbrown
Cream of the Crop
Avatar
5,384 posts
Likes: 2
Joined Mar 2007
Location: Silicon Valley
     
Aug 11, 2010 08:28 |  #13

apersson850 wrote in post #10699983 (external link)
Softwarewise, it works pretty well to read about 30 pixels high across the columns, average these 30 and use the values computed to compensate for different column levels, which cause a great deal of this noise, when the RAW conversion is done. Different RAW converters do have procedures to compensate for different levels in different columns, so they are prepared for that. The main problem with the 7D is that the difference is so large from one camera to another, that the software vendors can't have a fixed setup for a certain model, but must adapt for each individual camera. They aren't prepared for that.

The real problem is that even the camera's internal dark frame subtraction doesn't take care of the banding (when you do long exposures). This means the banding in question is added after that internal subtraction process. It's really weird.

So the only effective way to deal with this would be an external dark frame subtraction during postprocessing. And very few raw converters, and none of the mainstream ones that I'm aware of, are capable of that.


"There are some things that money can't buy, but they aren't Ls and aren't worth having" -- Shooter-boy
Canon: 2 x 7D, Sigma 17-50 f/2.8 OS, 55-250 IS, Sigma 8-16, 24-105L, Sigma 50/1.4, other assorted primes, and a 430EX.
Nikon: D750, D600, 24-85 VR, 50 f/1.8G, 85 f/1.8G, Tamron 24-70 VC, Tamron 70-300 VC.

  
  LOG IN TO REPLY
jacobsen1
Cream of the Crop
Avatar
9,629 posts
Likes: 32
Joined Jan 2006
Location: Mt View, RI
     
Aug 11, 2010 08:46 |  #14

tonylong wrote in post #10692911 (external link)
Cameras put out in the past three years of so have long exposure noise reduction -- they take a second exposure with the same settings but with the sensor blocked out then do a dark frame subtraction.

yep. It's helpful for long exposures (15 seconds or more is where I like to use it). But canon does a piss poor implementation, you actually have to wait for it to take the second shot after you took the first. So imagine a 15 minute star trail shot. Shoot for 15 minutes, then the camera shoots for ANOTHER 15 minutes while you wait. :confused:

that's the way it's always been done, but somehow pentax sorted out how to shoot their dark frame while the camera is actively shooting another shot. At the end it won't let you turn the camera off if it's still taking a dark frame (it puts a message on the screen). If your battery dies you lose that one dark from which is no big loss.

Waiting for a second long exposure SUCKS though.

apersson850 wrote in post #10699983 (external link)
Would a black frame subtraction improve the situation, then?

The 7D seems to have a thinner line of masked pixels outside the sensor than previous cameras. Before, 30 or so was more or less the rule. I think the 7D has 8. This line is used to set the black point, and could also be used to compare the level of different columns. It's like a black frame, just not over the whole area.

Softwarewise, it works pretty well to read about 30 pixels high across the columns, average these 30 and use the values computed to compensate for different column levels, which cause a great deal of this noise, when the RAW conversion is done. Different RAW converters do have procedures to compensate for different levels in different columns, so they are prepared for that. The main problem with the 7D is that the difference is so large from one camera to another, that the software vendors can't have a fixed setup for a certain model, but must adapt for each individual camera. They aren't prepared for that.

interesting, I never knew what they hell the extra pixels were for, thanks!


My Gear List

my sites:
benjacobsenphoto.com (external link) | newschoolofphotography​.com (external link)
GND buyers FAQ

FOR SALE: 5Dii RRS L-bracket, 430II, 12mm macro tube PM ME!

  
  LOG IN TO REPLY
Bill ­ Boehme
Enjoy being spanked
Avatar
7,359 posts
Gallery: 39 photos
Best ofs: 1
Likes: 89
Joined Jan 2007
Location: DFW Metro-mess, Texas
     
Aug 11, 2010 12:52 |  #15

As a generalization, astro photographers are just about the only ones needing dark frame subtraction for really long exposures. When they do dark frame subtraction, it is not done in the camera, but as a software operation after collecting many exposures that are combined into a "stack". Also, it is not absolutely necessary to create the dark frame immediately after the "light" exposure since we are dealing with "noise" that is repeatable (i.e., "fixed pattern" noise). The most important thing is to make the "darks" with the same exposure time as the lights. It also helps to have the camera at the same ambient temperature as when making the original images.

jacobsen1 wrote in post #10700555 (external link)
.... But canon does a piss poor implementation, you actually have to wait for it to take the second shot after you took the first. So imagine a 15 minute star trail shot. Shoot for 15 minutes, then the camera shoots for ANOTHER 15 minutes while you wait. :confused:

I would not be so hard on Canon about this since I do not know of another NR implementation that can be substituted for this with equal results if you really want to do it in the camera. You could always do it the way that the astro photographers do it, but you can't get around the long dark exposure time. If there were a better way, I am sure that folks would be doing it. If your long exposures are always precisely the same length of time and at approximately the same temperature, then you could create a "dark frame" library.


Atmospheric haze in images? Click for Tutorial to Reduce Atmospheric Haze with Photoshop.
Gear List .... Gallery: Woodturner Bill (external link)
Donate to Support POTN Operating Costs

  
  LOG IN TO REPLY
sponsored links (only for non-logged)

8,117 views & 0 likes for this thread, 9 members have posted to it.
Is there a way to do a dark frame subtraction?
FORUMS Cameras, Lenses & Accessories Canon Digital Cameras 
AAA
x 1600
y 1600

Jump to forum...   •  Rules   •  Forums   •  New posts   •  RTAT   •  'Best of'   •  Gallery   •  Gear   •  Reviews   •  Member list   •  Polls   •  Image rules   •  Search   •  Password reset   •  Home

Not a member yet?
Register to forums
Registered members may log in to forums and access all the features: full search, image upload, follow forums, own gear list and ratings, likes, more forums, private messaging, thread follow, notifications, own gallery, all settings, view hosted photos, own reviews, see more and do more... and all is free. Don't be a stranger - register now and start posting!


COOKIES DISCLAIMER: This website uses cookies to improve your user experience. By using this site, you agree to our use of cookies and to our privacy policy.
Privacy policy and cookie usage info.


POWERED BY AMASS forum software 2.58forum software
version 2.58 /
code and design
by Pekka Saarinen ©
for photography-on-the.net

Latest registered member is AlainPre
1651 guests, 140 members online
Simultaneous users record so far is 15,144, that happened on Nov 22, 2018

Photography-on-the.net Digital Photography Forums is the website for photographers and all who love great photos, camera and post processing techniques, gear talk, discussion and sharing. Professionals, hobbyists, newbies and those who don't even own a camera -- all are welcome regardless of skill, favourite brand, gear, gender or age. Registering and usage is free.