Erase part of an image

Erase a specific part of an imge B

Erase a specific part of an image A