Project

General

Profile

Black Stripe Detection » History » Version 4

William Rice, 10/02/2018 10:31 PM

1 1 William Rice
h1. Black Stripe Detection
2
3 3 William Rice
For users of the K2 camera. At NYSBC we occasionally lose a channel during collection, resulting in a black stripe in the image. More rarely, counted movies start coming out the wrong size, off by 2 pixels in the X and Y axes. This node will detect both types of problems and throw an warning message. Particularly useful feature if slack messaging is in use.
4 1 William Rice
5
h2. Adding the node
6 2 William Rice
7 1 William Rice
Binding needs to be made from Exposure to the Black Stripes Detector Mode. Binding is AcquistionImagePublishEvent.
8
9
h2. Use
10 2 William Rice
11 1 William Rice
Control panel has 2 options, whether to detect black stripes and whether to pause on error. Turning it on means every exposure image will be analyzed for lack of signal in all 8 stripes. Will output the mean and sd of each stripe in the text window. A blaxk stripe is defined as having mean=0 and sd=0. Additionally tests the size to make sure it is K2 standard size (3710 x 3838).
12
13
h2. Testing
14 2 William Rice
15 1 William Rice
Works on images in both orientations (portrait and landscape). Works on super-res images (bins to counting before testing). Does not seem to affect collection rates. Calculations are relatively simple and no pausing is needed during calculations
16
17
h2. Notes
18 2 William Rice
19 4 William Rice
Note: Pause feature is not yet implemented in the code. Can be checked but no pausing is done. May add a feature to only check every N images.