ZWO Users Group
http://zwoug.org/

Feature request to help detect/discard split frames
http://zwoug.org/viewtopic.php?f=17&t=7391
Page 1 of 1

Author:  caracol_uk [ Mon Sep 11, 2017 4:39 pm ]
Post subject:  Feature request to help detect/discard split frames

After having spent a significant amount of time trying to programmatically detect whether a downloaded image is split/torn (as happens from time to time with the ASI120 when connected via USB to a Raspberry Pi) I have only been able to do this with about 90% accuracy. It would make the detection process MUCH easier if there was a way we could ask the camera to add a known value to a block of pixels. For example, if it was possible to add a 1 pixel wide white border around the entire image, we could simply check the left most column of pixels to make sure the average pixel is 255. Since split frames always shift the bottom of the image by a random amount, these frames would have an average pixel value lower than 255.

I'm not sure how feasible it would be to implement this into the SDK, but if it were possible it would give us a very easy way to simply discard these split frames.

Regards
Simon

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/