Register    Login    Forum    Search    FAQ

Board index » Software » Linux




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post Posted: Mon Sep 11, 2017 4:39 pm 
Offline

Joined: Thu Apr 20, 2017 6:50 pm
Posts: 21
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


Top 
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
 
Post new topic Reply to topic  [ 1 post ] 

Board index » Software » Linux


Who is online

Users browsing this forum: No registered users and 4 guests

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: