Added scaling option to save disk space #297
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi Thomas,
Files of the Pi HQ cam are quite large (about 5+ MB). First, I tried the 2x2 binning option so save some space but that generated quite strange artifacts and especially a hot pixel that is not there when not using binning. You can get rid of it with dark frame subtraction, but only for some time - it seems to move and then leaves a black spot with a new hot pixel next to it in the binned image.
As this effect doesn't occur when using the full resolution (1x1 binning) and I even don't have hot pixels at all in that mode (on-chip dead-pixel correction is switched on), I added an option to scale down the picture before saving it in the daily folder. Reducing the image size by a factor of 2 leaves me with individual images of around 1,3 MB each - and with no artifacts or hot pixels, and no urgent need for darks. Additionally, switching on binning seems to dramatically reduce sensitivity of my HQ cam - not that I understand that ;-)
Maybe you want to add it to your version.
Stefan