aliby.tile.traps

Functions for identifying and dealing with ALCATRAS traps.

Functions

half_ceil(x, tile_size)

half_floor(x, tile_size)

identify_trap_locations(image, trap_template)

Identify the traps in a single image based on a trap template.

segment_traps(image, tile_size[, downscale, ...])

Use an entropy filter and Otsu thresholding to find a trap template, which is then passed to identify_trap_locations.