Processing Binary Images