I've been using SharpCap Pro Version 4 (beta) for photometry in recent weeks.
Today, I tested Livestacking on a sample data set. I was stacking five frames and then doing a 'Save as' from the Live Stack. The 'Save as 16 Bit Stack' did what I was expecting when inspecting the saved image using AIJ (AstroImageJ). Maximum pixel values were the average of the pixels over the five frames stored as 16bit - approx 19,000. However, when I tried 'Save as RAW (32bit) Stack, the results were not as expected (the sum of all stack frames). For my five stacked frames, the max pixel should have been around 90,000, however, it was being reported as 637,045,888.000, and further this appeared to be a saturated value as it did not change across multiple pixels.
Potential Error Live Stack Save as RAW (32bit)
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]
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]
-
- Posts: 54
- Joined: Sun Dec 22, 2019 6:59 pm
- admin
- Site Admin
- Posts: 13177
- Joined: Sat Feb 11, 2017 3:52 pm
- Location: Vale of the White Horse, UK
- Contact:
Re: Potential Error Live Stack Save as RAW (32bit)
Hi,
My first thought was that you should end up with a maximum of 90,000 too, but then I went and checked the code. It looks like the code is set up to expand the range when saving in this format to use the maximum possible range of four byte integer data. For instance, if the maximum raw data value was 20,000, to scale up SharpCap would multiply all data by 65536 (which is the largest power of two that you can multiply by and still keep the range inside the -2^31 to +2^31 range of a four byte integer).
I suspect that I added this to avoid people reporting that their 'images were black' when saved.
cheers,
Robin
My first thought was that you should end up with a maximum of 90,000 too, but then I went and checked the code. It looks like the code is set up to expand the range when saving in this format to use the maximum possible range of four byte integer data. For instance, if the maximum raw data value was 20,000, to scale up SharpCap would multiply all data by 65536 (which is the largest power of two that you can multiply by and still keep the range inside the -2^31 to +2^31 range of a four byte integer).
I suspect that I added this to avoid people reporting that their 'images were black' when saved.
cheers,
Robin
-
- Posts: 54
- Joined: Sun Dec 22, 2019 6:59 pm
Re: Potential Error Live Stack Save as RAW (32bit)
Hi Robin,
I checked the math, it looks like you're multiplying by 2 power 15 (32768) rather than 2 power 16 (65536). However, knowing this makes the data useful.
I think more people will start considering SharpCap for photometric measurements, particularly now the sequencer is there .
Best regards,
Gary
I checked the math, it looks like you're multiplying by 2 power 15 (32768) rather than 2 power 16 (65536). However, knowing this makes the data useful.
I think more people will start considering SharpCap for photometric measurements, particularly now the sequencer is there .
Best regards,
Gary