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?

 
jacobsen1
Cream of the Crop
Avatar
9,629 posts
Likes: 32
Joined Jan 2006
Location: Mt View, RI
     
Aug 11, 2010 14:57 |  #16

Bill Boehme wrote in post #10702018 (external link)
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.

so the noise changes enough with exposure time/temperature that it makes that big a difference? What if we subtracted a 15 second dark frame from a 30 second shot? I've never tried so I'm just curious.

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.

I think you missed the part where I said Pentax has a working system that lets the K7 shoot it's dark frame while you keep shooting normal shots. It does it in the "background" somehow. A friend that I landscape with a lot has one, it's a pretty cool trick.


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
luigis
Goldmember
Avatar
1,399 posts
Likes: 3
Joined Jun 2008
Location: Buenos Aires, Argentina
     
Aug 11, 2010 15:04 |  #17

You have a freeware BlackFrame NR that does exactly what you want.

For short exposures it is not worth it, if you want to reduce noise in short exposures you are better taking several shots of the same scene and then stacking them in average mode in PS or any other software.


www.luisargerich.com (external link)
Landscape Photography & Astrophotography
Follow me on Twitter (external link)
My Awesome Gear List

  
  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 15:26 |  #18

jacobsen1 wrote in post #10702848 (external link)
so the noise changes enough with exposure time/temperature that it makes that big a difference? What if we subtracted a 15 second dark frame from a 30 second shot? I've never tried so I'm just curious.

The exposure time is much more significant than temperature. If the exposure times are not the same then only part of the noise would be subtracted or noise would be added if the dark exposure time were longer than the light exposure.

jacobsen1 wrote in post #10702848 (external link)
I think you missed the part where I said Pentax has a working system that lets the K7 shoot it's dark frame while you keep shooting normal shots. It does it in the "background" somehow. A friend that I landscape with a lot has one, it's a pretty cool trick.

I would buy a bridge in Arizona before I bought that story (unless it is accumulating partial exposures during idle time intervals while the camera is not busy with an actual exposure). :) That would work until you had an improbable scenario where you were shooting a bunch of exposures under different ISO settings and and progressively longer exposure times that would hog all of the available RAM.


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
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 15:33 as a reply to  @ luigis's post |  #19

The outermost masked pixels are for a black reference. Then inside them, there's another rectangular field of pixels that don't do into the final image, but are needed when the camera does the Bayer interpolation. Since every single pixel on the sensor is sensitive to one color only, but a pixel in the final image has three colors (RGB), the camera has to get the additional color information by looking at the pixels around the one being processed. If there weren't extra pixels outside the final image, the interpolation algorithm wouldn't have what's required to work with at the edges of the image.

But according to all the information I've seen about this phenomena, the irregularities in output from the 7D's sensor seems to vary columnwise. According to an optronics specialist I know, averaging the output from about 30 pixels high in a column, and then compare that to other columns, where you do the same, seems to give enough data to compensate for at least most of the problem. If that's true (and he usually knows what he's talking about), then at least if the outermost masked region is wide enough, that should give data required to compute the proper compensation.


Anders

  
  LOG IN TO REPLY
noisejammer
Goldmember
Avatar
1,053 posts
Likes: 6
Joined May 2010
Location: Toronto ON
     
Aug 11, 2010 18:40 |  #20

I'm an astrophotographer, so perhaps I can add my $0.02 to the discussion.

If you want to get rid of intrinsic camera noise, you really need four reference frames. These are a flat field (which allows for correction of vignetting or lens illumination fall off), a defect map (so you know which pixels produce garbage so you can interpolate them after the fact), a bias frame (essentially a dark frame that's taken with the shortest possible exposure) and a reasonably long dark frame. Each reference image has to be as noise-free as you can get it.

Using the bias and dark frame, you can scale the dark to compensate for any exposure. There's a major caveat though - your camera's noise will typically double for every 5deg C (9deg F) increase in temperature - so some sort of thermal correction is usually necessary when using a DSLR. You would normally use the dark and bias to correct for noise in the flat field too.

Now, to determine whether it's necessary to correct the dark frame, you can just put the cap on the lens and shoot a raw frame of - say - 1 minute duration. You can then examine the pixel counts in your favourite image processing package. Next shoot an image where the camera saturates and divide (pixel wise) the second image by the first. This gives you the true dynamic range of your camera after a 1 minute exposure. Let's say it's 100:1. If the dark frame was 30 seconds, you would have got something like 200:1 and if it was 15 seconds the dynamic range would be about 400:1.

On removal of banding - I find that dark and bias correction is absolutely essential in my DSLR and cooled CCD cameras that I used for imaging the night sky. To create dark frames with the minimum of noise I usually average 100 frames of 1 minute each (and of course 100 bias frames.)

If you're interested in suppressing noise in you camera, you might consider purchasing Jerry Lodriguss' e-book "A Guide to Astrophotography with Digital SLR Cameras". Here's a link http://www.astropix.co​m/GADC/GADC.HTM (external link).

Clearest
Bruce, Toronto


Several cameras and more glass than I will admit to.
Flickr (external link)

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

8,118 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.