Binary map operations and simple in painting is implemented