Dark frame library capture ignores "don't rescale 10/12/14 bit setting"

A place to report problems and bugs in SharpCap
Forum rules


If you have a problem or question, please check the FAQ to see if it already has an answer : https://www.sharpcap.co.uk/sharpcap-faqs

Please also read about Troubleshooting USB Issues before posting.

*** Please do not post license keys - please report any problems with licensing to 'admin' by private message ***

Please include the following details in any bug report:

* Version of SharpCap
* Camera and other hardware being user
* Operating system version
* Contents of the SharpCap log after the problem has occurred.
[If SharpCap crashes, please send the bug report when prompted instead of including the log]
Post Reply
ehea
Posts: 4
Joined: Sat Jun 01, 2019 1:27 pm

Dark frame library capture ignores "don't rescale 10/12/14 bit setting"

#1

Post by ehea »

Using Version 3.2.5986.0
  • I have a ZWO ASI 178mm camera (14 bit ADC)
  • I have this setting checked: General->Saving->"Save 10/12/14 bit images in FITS files without scaling to 16 bit [...]"
The setting works as advertized when I capture frames via "Quick capture" or "Start Capture", in the sense that the max ADU value I'll get is 2^14 this way, but when I use "Capture->Capture Dark...->Dark-Library checked , the resulting dark frame that is stored in the dark frsme library directory structure is scaled to 16 bit. This is perhaps a bu, at least it is unexpected and counter-intuitive. It requires an extra step of dividing the drak frame by 4 (in my case) before subtracting this from light frames in external software.

Is this intended or a bug?

CS
HBE
User avatar
admin
Site Admin
Posts: 13296
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Dark frame library capture ignores "don't rescale 10/12/14 bit setting"

#2

Post by admin »

Hi,

This is intentional behaviour, because you are creating a master dark image that is an average of multiples individual dark frames. Under some situations (ranges of camera settings) the noise may be low enough that keeping the master dark frame at the cameras native bit depth might become the biggest source of errors in the image. For instance a particular pixel might have values (unscaled) of 1001, 1002, 1002, 1001, 1001, 1002 etc in the individual dark frames. The correct average value for the master dark here would obviously be 1001.5, but that couldn't be represented correctly if the master dark was only written at the bit depth of the individual dark frames.

Hope this helps explain it, Robin
ehea
Posts: 4
Joined: Sat Jun 01, 2019 1:27 pm

Re: Dark frame library capture ignores "don't rescale 10/12/14 bit setting"

#3

Post by ehea »

Oh I see.

However I was expecting that the master dark frames would be stored with floating point format FITS files anyway. That way it would comply to the native camera ADU range and not lose any information. I still think it's adding extra troubles when you keep the light frames (intentionally) at 14 bit but the master dark gets scaled to 16bit (e.g. if you just drop the stuff into, say, Deep Sky Stacker).

Thanks
HBE
Post Reply