A systematic evaluation of coding strategies for sparse binary images