What better punishment?
In Clockwork Orange, the rapist was brain washed, unsuccessfully though, with images of violence. His eyes lids were taped open to force him to watch.