Time to settle the score regarding BIAS VS. DARK FLATS! - AstroGab2024-03-28T17:11:23Zhttp://astrogab.ning.com/forum/topics/time-to-settle-the-score-regarding-bias-vs-dark-flats?commentId=6354305%3AComment%3A90681&feed=yes&xn_auth=noThe only case that does not n…tag:astrogab.ning.com,2011-10-26:6354305:Comment:906822011-10-26T21:03:01.750ZSteve Coateshttp://astrogab.ning.com/profile/SteveCoates
<blockquote>The only case that does not need bias frames at all is when there is no dark scaling and both light and flat frames are dark subtracted.</blockquote>
Agreed! Therefore since I use DSS with NO scaling I just use Flat, Dark Flat, Lights and Darks. I've got a brain cramp now. Thanks for contributing to this I know it is helping me further understand this concept.
<blockquote>The only case that does not need bias frames at all is when there is no dark scaling and both light and flat frames are dark subtracted.</blockquote>
Agreed! Therefore since I use DSS with NO scaling I just use Flat, Dark Flat, Lights and Darks. I've got a brain cramp now. Thanks for contributing to this I know it is helping me further understand this concept. OK, here goes: Bias (or offse…tag:astrogab.ning.com,2011-10-26:6354305:Comment:906812011-10-26T20:29:20.571ZGreg Marshallhttp://astrogab.ning.com/profile/GregMarshall
OK, here goes: Bias (or offset) is simply a value that is added to every pixel in every exposure. You can think of it as an offset that is intentionally applied to ensure that the "black" level is always above zero despite random variations. This bias value does not vary with the exposure duration. In fact, in a well-behaved camera the bias is so constant that you can simply use a constant for the bias of each pixel. This can actually improve image quality by eliminating the read noise of the…
OK, here goes: Bias (or offset) is simply a value that is added to every pixel in every exposure. You can think of it as an offset that is intentionally applied to ensure that the "black" level is always above zero despite random variations. This bias value does not vary with the exposure duration. In fact, in a well-behaved camera the bias is so constant that you can simply use a constant for the bias of each pixel. This can actually improve image quality by eliminating the read noise of the bias frames.<br />
<br />
I was wrong about bias and scaling. Since bias is present in every frame, subtracting a dark frame from a light frame removes both the dark current and the bias. However, if the dark frame is going to be scaled you can't apply the scaling factor to the "raw" dark frame because you would then be scaling the bias as well. So the bias must be removed before scaling, but it still needs to be removed from the light frames as well.<br />
<br />
Ignoring flat frames for the moment, the simple (non-scaled) case is just<br />
<br />
CalFrame = LightFrame - DarkFrame<br />
<br />
The bias subtraction happens together with the dark current subtraction. Scaling the dark frame can be done in several different ways, but is easily understood from this formula:<br />
<br />
CalFrame = (LightFrame - BiasFrame) - ((DarkFrame - BiasFrame) * ScaleFactor)<br />
<br />
That is, both bias and dark current are subtracted from the light frame, but they are done separately so that the dark frame can be scaled.<br />
<br />
To do flat calibration the frames calculated above are divided by the flat frame, which must first be calibrated in the same way to remove bias and dark current. However, with a short exposure (and good camera) it would not be necessary to subtract the dark current, but only bias. So in the simplest calibration model we do not scale the dark and do not dark subtract the flat:<br />
<br />
CalFrame = (LightFrame - DarkFrame) / (FlatFrame - BiasFrame)<br />
<br />
Note that we still need the bias in this case! If the dark must be scaled the equation is<br />
<br />
CalFrame = ((LightFrame - BiasFrame) - ((DarkFrame - BiasFrame) * ScaleFactor)) / (FlatFrame - BiasFrame)<br />
<br />
I think you can see how the other cases would work.<br />
<br />
The only case that does not need bias frames at all is when there is no dark scaling and both light and flat frames are dark subtracted. I don't like dark scaling because it relies on the "linearity" of dark current over temperature and time. I prefer to restrict myself to 2 temperatures (the colder one whenever possible and the other when it's too warm out) and a handful of exposure times. My library of calibration frames includes all combinations of these temperatures and exposures. Regarding flats, I prefer to keep the exposures short (and shoot them at low temperature) to avoid the need for flat dark frames. So I always have a bias frame in the library and make it a good one (average of many many frames) and re-do it every few months. I use MaxIm DL for calibratio…tag:astrogab.ning.com,2011-10-26:6354305:Comment:909202011-10-26T11:19:59.435ZGreg Marshallhttp://astrogab.ning.com/profile/GregMarshall
I use MaxIm DL for calibration and stacking. I believe it supports scaled darks, but I always use exposure times and temperatures for which I have darks in my library.<br />
<br />
And I don't think that use of bias has anything to do with scaling. Note that the originally quoted formula does not "add" the offset, it subtracts it (along with the dark) from the light. I'm not sure that the given formula is entirely correct. I've been up all night, so I don't trust my brain now, but I'll post again when I've…
I use MaxIm DL for calibration and stacking. I believe it supports scaled darks, but I always use exposure times and temperatures for which I have darks in my library.<br />
<br />
And I don't think that use of bias has anything to do with scaling. Note that the originally quoted formula does not "add" the offset, it subtracts it (along with the dark) from the light. I'm not sure that the given formula is entirely correct. I've been up all night, so I don't trust my brain now, but I'll post again when I've done some more research. What stacking program do you…tag:astrogab.ning.com,2011-10-26:6354305:Comment:908372011-10-26T10:53:58.993ZSteve Coateshttp://astrogab.ning.com/profile/SteveCoates
What stacking program do you use? From what I've read (and linked) in the above post, it is only neccessary to use Offsets/Bias when using scaled Darks. I don't scale my images so the Offset/Bias are already comtined within the Dark Frames. But, if you DO scale then you would need to add Bias/Offsets.
What stacking program do you use? From what I've read (and linked) in the above post, it is only neccessary to use Offsets/Bias when using scaled Darks. I don't scale my images so the Offset/Bias are already comtined within the Dark Frames. But, if you DO scale then you would need to add Bias/Offsets. I think you should always use…tag:astrogab.ning.com,2011-10-26:6354305:Comment:906652011-10-26T03:59:57.467ZGreg Marshallhttp://astrogab.ning.com/profile/GregMarshall
I think you should always use bias (offset) frames. The question is whether you need "flat dark" frames. The answer is that it depends on the camera and exposure duration. I like to take flats with a bright source to keep the exposure down to a few seconds. I also (usually) do it with the camera cooled. Under these conditions I don't use "flat dark" frames and don't think they would help significantly.
I think you should always use bias (offset) frames. The question is whether you need "flat dark" frames. The answer is that it depends on the camera and exposure duration. I like to take flats with a bright source to keep the exposure down to a few seconds. I also (usually) do it with the camera cooled. Under these conditions I don't use "flat dark" frames and don't think they would help significantly. Ok pretty good stuff. This wa…tag:astrogab.ning.com,2011-10-23:6354305:Comment:903902011-10-23T17:58:26.645ZSteve Coateshttp://astrogab.ning.com/profile/SteveCoates
Ok pretty good stuff. This was posted on the CN website and was explained that it depends on the stacking program used. Apparently there are programs like PixInsight that do <strong>Dark Frame</strong> scaling. So Un-scaled <strong>Dark Frames</strong> will have the <strong>Bias/Offest</strong> contained within it. Here is the <a rel="nofollow" href="http://www.cloudynights.com/ubbthreads/showflat.php/Cat/0/Number/4875501/page/0/view/collapsed/sb/5/o/all/fpart/1" target="_blank">link</a>.
Ok pretty good stuff. This was posted on the CN website and was explained that it depends on the stacking program used. Apparently there are programs like PixInsight that do <strong>Dark Frame</strong> scaling. So Un-scaled <strong>Dark Frames</strong> will have the <strong>Bias/Offest</strong> contained within it. Here is the <a rel="nofollow" href="http://www.cloudynights.com/ubbthreads/showflat.php/Cat/0/Number/4875501/page/0/view/collapsed/sb/5/o/all/fpart/1" target="_blank">link</a>. Steve agreed, my problem (I u…tag:astrogab.ning.com,2011-10-19:6354305:Comment:888742011-10-19T01:29:39.574ZMarc Bastihttp://astrogab.ning.com/profile/MarcBasti
Steve agreed, my problem (I use CCDStack) is I don't see a spot to plug that (a stacked flat dark frame) into the calibration flow. I might have to trick it and put into the bias spot (thinking out loud), like I said my problem.--- I looked in DSS under the calibration process (flow chart) seems like DSS doesn't care if you have one (bias) or the other (dark flat) or both, as long as you have at least one. I guess it's whatever works best for you. One thing I did, like Bob's club member, was to…
Steve agreed, my problem (I use CCDStack) is I don't see a spot to plug that (a stacked flat dark frame) into the calibration flow. I might have to trick it and put into the bias spot (thinking out loud), like I said my problem.--- I looked in DSS under the calibration process (flow chart) seems like DSS doesn't care if you have one (bias) or the other (dark flat) or both, as long as you have at least one. I guess it's whatever works best for you. One thing I did, like Bob's club member, was to redo a bias stack a couple times a year. First we have big temp. swings (you know) up here between wint.+sum. and second (from what I had read) just wear from the use of your cameras electronics will alter the bias. But if you're using dark flats, you got that covered. Marc I was thinking, based from th…tag:astrogab.ning.com,2011-10-18:6354305:Comment:889912011-10-18T23:58:38.933ZSteve Coateshttp://astrogab.ning.com/profile/SteveCoates
I was thinking, based from the original post, that <span style="text-decoration: underline;">Bias</span> frames are overkill, and I have only been using <strong><span style="text-decoration: underline;">Dark Flats</span></strong>. Let's break down the definitions:<br></br>
<blockquote>The <strong><span style="text-decoration: underline;">Dark Frames</span></strong> are used to remove the dark signal from the <strong><span style="text-decoration: underline;">Light frames</span></strong> (or the Flat…</blockquote>
I was thinking, based from the original post, that <span style="text-decoration: underline;">Bias</span> frames are overkill, and I have only been using <strong><span style="text-decoration: underline;">Dark Flats</span></strong>. Let's break down the definitions:<br/>
<blockquote>The <strong><span style="text-decoration: underline;">Dark Frames</span></strong> are used to remove the dark signal from the <strong><span style="text-decoration: underline;">Light frames</span></strong> (or the Flat frames for the Dark Flat frames).<em><a rel="nofollow" href="http://deepskystacker.free.fr/english/faq.htm" target="_blank">http://deepskystacker.free.fr/english/faq.htm</a></em></blockquote>
So as we all know we remove the dark signal from the Light frames by taking Dark Frames of the same exposure time, temperature and ISO as the Light frames (only with the cap on). Am I reading the part in parenthesis as the Dark Flat frames are used to remove dark signal from the Flat frames? This leads to the question, based from Jim Solomons Cookbook, that <strong><span style="text-decoration: underline;">Offsets</span></strong> are not needed because they are already contained in the <strong><span style="text-decoration: underline;">Dark Frames</span></strong> that we take.<br/>
<blockquote>Note, however, that any exposure we take with a digital camera contains the Offset, and "Darks" are no exception.<em><a rel="nofollow" href="http://www.saratogaskies.com/articles/cookbook/index.html#Background" target="_blank">http://www.saratogaskies.com/articles/cookbook/index.html#Background</a></em></blockquote>
<span style="text-decoration: underline;"><strong>Bias/Offests</strong></span> defined:<br />
<blockquote>The Bias/Offset Frames are used to remove the CCD or CMOS chip readout signal from the light frames. Each CCD or CMOS chip is generating a readout signal which is a signal created by the electronic just by reading the content of the chip.</blockquote>
<em><a href="http://deepskystacker.free.fr/english/faq.htm" target="_blank">http://deepskystacker.free.fr/english/faq.htm</a></em><br/> So Marc, based on the above you are correct that when you take your Flat frames with a longer exposure time you now need to take Dark Flats to remove the dark signal from your Flat frames. I'm glad this discussion came…tag:astrogab.ning.com,2011-10-18:6354305:Comment:887992011-10-18T22:09:08.026ZMarc Bastihttp://astrogab.ning.com/profile/MarcBasti
I'm glad this discussion came up, it's timely for me. Up until recently, I was going w/the premise Steve mentioned, bias+flat darks are overkill and I just used bias frames. W/my dslr@ 1/whatever sec. it not going to generate any noise to speak of, just the camera noise-bias. The same w/my ccd camera, even though I'm shooting 2-4sec. exposures for flats (longer exposure to avoid shutter blur/shadow) the noise would be negligible and just the bias should suffice. However, recently I got a…
I'm glad this discussion came up, it's timely for me. Up until recently, I was going w/the premise Steve mentioned, bias+flat darks are overkill and I just used bias frames. W/my dslr@ 1/whatever sec. it not going to generate any noise to speak of, just the camera noise-bias. The same w/my ccd camera, even though I'm shooting 2-4sec. exposures for flats (longer exposure to avoid shutter blur/shadow) the noise would be negligible and just the bias should suffice. However, recently I got a Flatman and I was using it to shoot flats w/my 7nm Ha filter and to get to around 25K adu's I needed to expose about 25 secs. Previously (pre-Flatman) I would just crank up my light source (had it on a dimmer switch) to stay within the 2-4sec. range, but the Flatman only goes so bright. My point is now I'm dealing w/25sec exps. which could (I guess) have exposure noise in them. So for now I'm just taking more exposures (normally 10exps up to 25 w/Ha filt.) and count (hope) on the s/n ratio to clean up any x-tra noise. I'm thinking I might be a candidate to shoot flat darks ?? Marc I may just start to use both…tag:astrogab.ning.com,2011-10-18:6354305:Comment:887602011-10-18T01:34:19.471ZSteve Coateshttp://astrogab.ning.com/profile/SteveCoates
I may just start to use both bias and dark flats in my images. I was told once that doing so was overkill, which got me reading and now second guessing myself. I don't have an issue using both dark flats and bias, so long as it does not degrade the images. I'd like to know what everyone else is doing?
I may just start to use both bias and dark flats in my images. I was told once that doing so was overkill, which got me reading and now second guessing myself. I don't have an issue using both dark flats and bias, so long as it does not degrade the images. I'd like to know what everyone else is doing?