A memory efficient packed representation for 2D bit arrays
Project description
This module utilizes the facilities of the BitVector class to create a memory efficient representation for 2D bit arrays.
The class supports the following operators/methods:
__str__
__getitem__
__setitem__
__getslice__
__eq__
__ne__
__and__
__or__
__xor__
__invert__
deep_copy
size
read_bit_array_from_char_file
read_bit_array_from_binary_file
write_bit_array_to_char_file
write_bit_array_to_packed_binary_file
shift
dilate
erode